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

From: Per Bothner <per>
Date: Thu Nov 16 01:36:55 2006

> I think we have three proposals, any of which is viable:
>
> 1) Ignore the first line if it begins with "#!".
>
> 2) Make "#!" a general comment start, like ";".
>
> 3) Make "#!...!#" a general pair of comment delimiters.
>
> I favor the first, because it has the smallest impact on the
> rest of the language.

I'd prefer "ignore the first line if it begins with "#!/"
since "#!" is used for special constants in some implementations.
(Those I guess such extensions won't be allowed in strict
R6RS-conforming mode, so it may not matter.)
-- 
	--Per Bothner
per_at_bothner.com   http://per.bothner.com/
Received on Thu Nov 16 2006 - 01:37:48 UTC

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