[comp.sources.wanted] more knowledgeable unix "file" program

jim@insect.berkeley.edu (10/04/89)

I would like a "file" program for unix that identifies
more file formats that the Sun OS 3.5 version.

Preferably,  it would recognize as many obsolete unix
formats as possible, as well as PC, Mac, CMS, VMS formats.

Thanks,

Jim Bradley, CNR Computer Facility, UC Berkeley

perry@ccssrv.UUCP (Perry Hutchison) (10/06/89)

In article <1989Oct4.160115.26561@agate.berkeley.edu>
jim@insect.berkeley.edu (Jim Bradley) writes:

> I would like a "file" program for unix that identifies
> more file formats that the Sun OS 3.5 version.

The file(1) command uses a file of "magic numbers" stored in /etc/magic
to recognize file formats.  Additional formats can be recognized by adding
appropriate entries there, or in an alternate "magic numbers" file
specified by the -m option.