From: utzoo!decvax!cca!fred.umcp-cs@UDel-Relay@sri-unix Newsgroups: net.unix-wizards Title: Re: blood curdling exec Article-I.D.: sri-unix.4235 Posted: Fri Nov 19 22:33:14 1982 Received: Sat Nov 20 08:27:54 1982 From: Fred Blonder Date: 16 Nov 82 19:07:16 EST (Tue) From: Doug Gwyn It seems to me that the place to put the #! recognizer is in the system library, not in the kernel exec handler. However, this would work only on readable (not merely executable) scripts... But the script has to be readable anyway. The interpreter must open the file for reading. It does NOT have its standard input redirected to the script. That way ``#!'' scripts can participate in pipes.