Re: /usr/bin/env and guile

Michael Vanier (mvanier@bbb.caltech.edu)
Sat, 15 Nov 1997 17:07:11 +0800

>
> 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