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]

Re: /usr/bin/env and guile


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+"$@"}
!#

Ralph> BTW, do not write `#!/', always write `#! /' (including the
Ralph> whitespace).  There are systems out there treating the first 4
Ralph> bytes of an executable as a magic binary number.

I think this is a myth.  Or do you know which system does it?

Tom