Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running a guile script



Ha, just found it:

#!/usr/bin/guile -s
!#

Sorry for the additional trafic
Viktor


>How can I run a guile script noninteractively from shell?
>This surely works:
>
>$ guile -s script.scm
>
>but if I add
>#!/usr/bin/guile -s
>and try to run it `usual' way, it breaks:
>
>$ ./script.scm
>ERROR: In procedure read:
>ERROR: unterminated `#! ... !#' comment
>
>(I tought shell excludes the #! line when it passes control
>to the interpreter...)
>
>Thanks
>Viktor
>
>-----------------------------------------------------------------------
>Next Technical Meeting:  Sat, July 14 13:30- 
>Next Nomikai Meeting:    Fri, Aug  10 19:30-  Tengu Tokyo Eki-Mae
>-----------------------------------------------------------------------
>more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
>

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links