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

From: Eli Barzilay <eli>
Date: Tue Nov 14 14:34:53 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!
Received on Tue Nov 14 2006 - 14:34:46 UTC

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