Mailing List Archive

Support open source code!


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

running a guile script



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

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links