This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>
> Ralph> The only thing which would help Guile are hacks like Tcl's
> Ralph> #! /bin/sh
> Ralph> #\
> Ralph> exec wish $0 ${1+"$@"}
>
> That is part of the reason for the #! ... !# comments. You can write:
>
> #!/bin/sh
> env guile -s $0 ${1+"$@"}
> !#
>
Another solution (which costs a little in startup time) is to have an
executable shell script called "guiles" (say):
#! /bin/sh
/weird/nonstandard/path/to/guile -s $1
and then do this in your script:
#! /usr/bin/env guiles
!#
...
Mike