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

David Van Horn dvanhorn at cs.brandeis.edu
Thu Nov 16 13:12:01 EST 2006


Per Bothner wrote:
> Arthur A. Gleckler wrote:
>> On Nov 16, 2006, at 8:38 AM, Per Bothner wrote:
>>
>>> I think it is useful that it be possible to write a conforming R6RS
>>> program that is at the same time a valid Unix/Posix script.  That
>>> requires some minimal standardization in R6RS.  Non-Unix implementations
>>> need to not get confused by a Unix script header.
>>
>> It doesn't require standardization in R6RS.
> 
> As long as R6RS prohibits reader extensions, then yes it does.

I think this misses the point van Tonder and Gleckler have been making. 
  If a Scheme program is allowed to be part of a file, then the Unix 
header is not part of the Scheme program.  It has nothing to do with 
reader extensions; you're not reading Scheme.

David



More information about the r6rs-discuss mailing list