[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: sperber@xxxxxxxxxxxxxxxxxxxxxxxxxxx (Michael Sperber [Mr. Preprocessor]
> >>>>> "Bengt" == Bengt Kleberg <qtxkleb@xxxxxxxxxxxxxxxx> writes:

> Bengt> It is unspecified what a first line starting with '#!' means. Ie, to be
> Bengt> portable, do not use one.
> Bengt> Posix anyone?
> Bengt> PS I still stand by my previous email stating my remembering that '#!/'
> Bengt> works everywhere, whereas '#!/' does not work on certain (very rare)
> Bengt> Unices that read and compare 4 bytes of a file.
> Ermh, I it does seems as though the stuff within quotes in your mail
> is sometimes lacking a character or two.  When you say "do not use
> one," what do you mean by "one?"

Sorry about that. It should have been (as I hope it was the first time):
'#! /' works everywhere, whereas '#!/' does not work on certain (very
rare) Unices

Do not use one => Do not use a first line with '#!' as the first
characters (to be portable according to the (Single) Unix Spec).

bengt (who apologise and should stay out of discussions above his depth)