[R6RS] script syntax
Anton van Straaten
anton at appsolutions.com
Fri Sep 1 11:00:48 EDT 2006
dyb at cs.indiana.edu wrote:
>>I've committed a change to scripts.tex to allow for alternate script
>>header lines.
>>
>>Kent mentioned the idea of installation programs performing
>>platform-specific rewrites of script headers, but specifying that seems
>>like a can of worms to me. I'm open to suggestions.
>
>
> My intent was to allow the first line of a script header to be any line
> starting with "#!<space>" or "#!/" and require that the script loader
> ignore such a line when present. Otherwise, "#!<space>" and "#!/" would
> be invalid syntax.
>
> The current lex.tex treatment of #!/usr/bin/env as a comment---which is
> incorrect anyway because it doesn't extend to the end-of-line as
> written---would go away, and the "#!<space>" and "#!/" headers would be
> mentioned only in scripts.tex.
OK, thanks. I'll fix the things you mention. I had thought you wanted
to say something explicitly about implementations being permitted to
rewrite the header, and that was the part I was balking at.
Anton
More information about the R6RS
mailing list