[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable." It's Unix-specific.
On Nov 14, 2006, at 7:04 PM, Peter Gavin wrote:
> I would suggest having the token #! be the start of a comment; the
> comment would continue until either the end of line, or some other
> token (!#, for instance) was reached. (It doesn't really matter to me
> how the comment is terminated.) Like any other comment, the compiler
> would completely ignore it.
>
> This would be completely portable, and allow systems that use the #!
> convention to work as expected. Other systems that do not use the
> convention (Microsoft Windows is the primary example) would most
> likely end up using the file extension, anyway.
>
> In addition, I would drop the requirement that the first line be
> ignored. That wouldn't be needed were #! a comment indicator.
That's a much better proposal than the current spec. I still prefer
nothing at all, but this is a reasonable, more portable compromise.
Received on Tue Nov 14 2006 - 23:02:22 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:00 UTC