[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SRFI-22 -- What won't work (small addition)

This page is part of the web mail archives of SRFI 22 from before July 7th, 2015. The new archives for SRFI 22 contain all messages, not just those from before July 7th, 2015.



> From: shivers@xxxxxxxxxxxxx

> Uhh... has anyone checked to ensure that it's *guaranteed* OK by Posix to
> put that space there? Are we being jollied by permissive implementations,
> or is it definitely OK?

Not having Posix available I (finally) checked with the (Single) Unix
spec (which is available at
http://www.opengroup.org/pubs/catalog/web.htm (note lack of 'l')).

It is unspecified what a first line starting with '#!' means. Ie, to be
portable, do not use one.

Posix anyone?

PS I still stand by my previous email stating my remembering that '#!/'
works everywhere, whereas '#!/' does not work on certain (very rare)
Unices that read and compare 4 bytes of a file.

bengt kleberg