Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC830713); site edee.UUCP
Path: utzoo!watmath!clyde!floyd!vax135!ukc!edcaad!edee!aegl
From: aegl@edee.UUCP (Tony Luck)
Newsgroups: net.unix-wizards
Subject: Re: magic numbers
Message-ID: <176@edee.UUCP>
Date: Mon, 19-Mar-84 06:23:00 EST
Article-I.D.: edee.176
Posted: Mon Mar 19 06:23:00 1984
Date-Received: Thu, 22-Mar-84 04:06:25 EST
References: <2639@alice.UUCP> <199@opus.UUCP>
Organization: Electrical Eng., Edinburgh U., Scotland
Lines: 7

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 }