> On Mon, 21 Aug 95 16:46:31 PDT, Stefan Drissen said:
> > Wouldn't it be just as easy to have a 4 character text field?  No need for 
> > the magic file 
> > then.
> 
> There's nothing to stop you storing text characters in there.  Many magic
> numbers on Unix consist of printable characters.
> 
> It doesn't even have to be 4 bytes.  "#!"  is a magic number on Unix.
> A Unix magic number is the first <variable number> of bytes in the file.

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.

> 
> imc
> 

 -Frode

Reply via email to