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

Arthur A. Gleckler arthur at zurich.csail.mit.edu
Tue Nov 14 14:25:21 EST 2006


On Nov 14, 2006, at 11:12 AM, Eli Barzilay wrote:

> I think that unixisms don't belong in the document too, but there's a
> very strong point for allowing them in some portable way.  AFAICT, the
> main problem is with different behaviors for #! that are currently
> around (like #! being a comment when its on the first line, or #!...!#
> being a balanced comment).  Maybe a better solution for this is to
> specify some #! behavior if one is used?  (This, of course, will not
> need to mention unix explicitly, but the rationale will still be
> obvious.)

Nevertheless, this doesn't belong in the language specification, and  
the spec. certainly shouldn't use the word "portable" to describe  
this feature.  (It does now.)  An SRFI is the appropriate place for  
documenting such a convention.



More information about the r6rs-discuss mailing list