/usr/bin/env and guile

Michael Vanier (mvanier@bbb.caltech.edu)
Fri, 14 Nov 1997 17:55:37 +0800

Hi,

Is it possible to start up a guile script with /usr/bin/env? I tried this
but it didn't work on my system:

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

...

This prints out an error message, apparently because guile thinks that the
name of the file is a switch. Is there a workaround? Is this a bug or
just a missing feature? It's certainly easier to use env than to type a
long filename (not to mention more portable).

Thanks,

Mike