[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable."
It's Unix-specific.
Alan Watson
alan at alan-watson.org
Wed Nov 15 11:11:52 EST 2006
AndrevanTonder wrote:
> 4) Take the draft statement "a script is a delimited piece of text"
> seriously, realize that the #! line is a delimiter, that
> the /Scheme/ script starts after that, and stop confusing
> "Scheme scripts" with "Unix script files", preferably by
> using a different word for the Scheme whatever.
+1.
There are implementation of Scheme that are great for scripting (in the
Unix sense), but this does not mean that all Scheme programs are
scripts. The #! notation makes no sense whatsoever in the context of a
Scheme that functions like a conventional compiler (i.e., is closer to
/usr/bin/cc than /bin/sh).
Do C files have to start with "#!/usr/bin/cc"?
Regards,
Alan
More information about the r6rs-discuss
mailing list