Magic Numbers

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sat Dec 7 02:03:29 AEST 1985


> Csh on non-4.2 systems checks for a # as
> the first character of the file, and forks itself if it sees it; if not, it
> forks a /bin/sh.

Yes, some of them do, but if they do that's a bug.
Virtually all of my Bourne shell scripts (including
SVR2 system utility scripts) start with "#".



More information about the Comp.unix.wizards mailing list