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

Eli Barzilay eli at barzilay.org
Tue Nov 14 14:36:01 EST 2006


On Nov 14, Arthur A. Gleckler wrote:
> 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.)

There is certainly a portability issue.


> An SRFI is the appropriate place for documenting such a convention.

SRFIs wouldn't help at this level.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!



More information about the r6rs-discuss mailing list