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

From: Nils M Holm <holm>
Date: Wed Nov 15 02:43:49 2006

On Tue, Nov 14, 2006 at 10:04:40PM -0500, Peter Gavin wrote:
> I would suggest having the token #! be the start of a comment;
> 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.

+1

> In addition, I would drop the requirement that the first line be
> ignored. That wouldn't be needed were #! a comment indicator.

Ignoring the first line would open the door to a lot of bad
surprises for people who start learning Scheme.

Plus it would make all one-liners two-liners, which I think
would be rather inelegant.

So please drop the requirement that the first line be ignored.

-- 
Nils M Holm <nmh_at_t3x.org> -- http://t3x.org/nmh/
Received on Wed Nov 15 2006 - 02:41:52 UTC

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