[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable." It's Unix-specific.

MichaelL at frogware.com MichaelL at frogware.com
Wed Nov 15 09:44:47 EST 2006


> I think we have three proposals, any of which is viable:
> 
> 1) Ignore the first line if it begins with "#!".
> 
> 2) Make "#!" a general comment start, like ";".
> 
> 3) Make "#!...!#" a general pair of comment delimiters.
> 
> I favor the first, because it has the smallest impact on the
> rest of the language.

The second option, though, would allow you to concat script files together 
and run them without further modification. So I would favor the second 
option.



More information about the r6rs-discuss mailing list