magic numbers
Tony Luck
aegl at edee.UUCP
Mon Mar 19 21:23:00 AEST 1984
One really useful effect of having the kernel look for '#!' is that shell
scripts are then really just like other executables (there should be no
way to tell by running it whether a program is a shell file or a binary)
i.e. you can make them setuid if you need to, or use them as login shells
without having to fix login/newgrp/su to know about ENOEXEC.
Tony Luck { ... UK !ukc!edcaad!edee!aegl }
More information about the Comp.unix.wizards
mailing list