On Mon, 21 Aug 1995 17:41:50 +0200, Frode Tenneboe said:
> You are streching it a bit here. :) "#!" only signals execv() that
> is shuld use the folowing path to interpret the text-file. And 
> 'magic numbers' are really not supported by the filesystem itself
> on UNIX.

No, not by the filesystem.  And nor should they be.  I thought this was the
entire point of the conversation.

The operating system recognises several magic numbers as signifying
executable files.  And yes, "#!"  is a magic number.  On this system
it is not in /etc/magic but it is built into the file command and the
same goes for ZMAGIC, NMAGIC and OMAGIC.

imc

Reply via email to