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

From: Eli Barzilay <eli>
Date: Tue Nov 14 14:36:09 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!
Received on Tue Nov 14 2006 - 14:36:01 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC