nmh-workers
[Top] [All Lists]

Re: nmh - How To ...

1998-07-21 14:38:30
In message <199807211613(_dot_)MAA12788(_at_)math(_dot_)gatech(_dot_)edu>, 
Richard Coleman writes:

In general, you cannot tell the MIME-type of a file by magic numbers.

In general, no. But for most common files (images, word documents, etc.) the
file type is pretty trivial to determine; witness the file(1) command and
/etc/magic file.

-- 
Harald Koch <chk(_at_)utcc(_dot_)utoronto(_dot_)ca>


<Prev in Thread] Current Thread [Next in Thread>