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]

/usr/bin/env and guile



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