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

From: Alan Watson <alan>
Date: Wed Nov 15 11:13:14 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
Received on Wed Nov 15 2006 - 11:11:52 UTC

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