[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable." It's Unix-specific.
On Nov 14, 2006, at 11:57 AM, Andre van Tonder wrote:
> On Tue, 14 Nov 2006, Arthur A. Gleckler wrote:
>
>> Perhaps, but the spec. refers to the "#! /usr/bin/env scheme-
>> script" line as the "default portable form." But it's portable
>> only to Unix systems.
>
> Not even! The specification requires even implementations running
> on Unix to ignore the first line, which can contain anything at all.
Yes, but then the spec. shouldn't specify what the first line must
contain at all -- only that it is ignored.
But it seems even better to remove this consideration entirely from
the "script" file, using some OS-specific wrapper file whose format
is perhaps the subject of an SRFI.
Received on Tue Nov 14 2006 - 15:13:37 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:00 UTC