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

Eli Barzilay eli at barzilay.org
Tue Nov 14 14:34:46 EST 2006


On Nov 14, Andre van Tonder wrote:
> On Tue, 14 Nov 2006, 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.
> 
> I am not sure I see the point to which you are referring.

In some implementations, you need to write:

    #!/...
    (scheme code)

and in others:

    #!/...
    !#
    (scheme code)

My point is that it is useful to make one work with all
implementations.


> This is a file format issue.  It seems inconsistent that r6rs does
> not address file format for libraries, yet chooses to do so for scripts,
> and in a way that is so badly broken.

[I don't know what's broken, and I don't make any argument about
whatever the text currently says.]

-- 
          ((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