ADD ABILITY TO EXECUTE FILES WITH "#!" MAGIC NUMBER
authorPaul Kranenburg <pk@cs.few.eur.nl>
Wed, 5 Aug 1992 00:00:00 +0000 (00:00 +0000)
committerPaul Kranenburg <pk@cs.few.eur.nl>
Wed, 5 Aug 1992 00:00:00 +0000 (00:00 +0000)
commitf34320fba7216857956a8445286d3224872a3434
tree78068ce130e2d039803d095c2697cd74e0087c49
parentdc24d661cc4571cc7dc0f22ae1ec51941d11878e
ADD ABILITY TO EXECUTE FILES WITH "#!" MAGIC NUMBER

If the first two characters of a file are "#!", this constitutes
a "magic number" which indicates that the file is a shell script and that
the character string following the "#!" should be executed, and that the
shell script itself should be used as stdin for the program executed.

AUTHOR: Paul Kranenburg (pk@cs.few.eur.nl)
386BSD-Patchkit: patch00025
usr/src/sys.386bsd/kern/kern_execve.c