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

Jens Axel Søgaard jensaxel at soegaard.net
Wed Nov 15 08:44:49 EST 2006


Jens Axel Søgaard skrev:

> If we want Scheme scripts to becomes just as easy as, say,
> Perl scripts on Unix, there is no other solution than to
> treat files, whose first line starts with #!, as a special
> case.
> 
> The compromise:
> 
>   * If the first line starts with #!, ignore the first line
> 
> has the consequence that a portable script won't run on Unix.
> The plus side is, that a script written for Unix will run
> on other systems.

If it wasn't clear, I like the current proposal.

-- 
Jens Axel Søgaard




More information about the r6rs-discuss mailing list