diff options
| author | Ian Darwin <ian@darwinsys.com> | 1987-09-11 15:02:51 +0000 |
|---|---|---|
| committer | Ian Darwin <ian@darwinsys.com> | 1987-09-11 15:02:51 +0000 |
| commit | dcc460d4cbe648244f15b80c7548d6cb709803dd (patch) | |
| tree | 1d86c1e5ce134f72cad0562154e172ad882aec74 /README | |
| parent | 71dcf18e971c5799c76e53c33d96c1a279936978 (diff) | |
| download | file-git-dcc460d4cbe648244f15b80c7548d6cb709803dd.tar.gz | |
*** empty log message ***
Diffstat (limited to 'README')
| -rw-r--r-- | README | 49 |
1 files changed, 22 insertions, 27 deletions
@@ -1,43 +1,38 @@ -** ALPHA TEST RELEASE ** -You are getting this ahead of the rest of the world because -you need it or because I like you or something. Please do not -forward it to anybody yet. The "official" version will appear -in mod.sources at a theater or USENET site near you in time -for the Christmas rush. - ** File(1) Command ** -This is Ian Darwin's (copyright but distributable unmodified) -file(1) command. It follows the USG (Sys V) model of the file -command, rather than the Research (V7) version. That is, there -is a file (/etc/magic) that contains much of the ritual information -that is the source of this program's power. It knows a little -more magic (including tar archives) than System V; the /etc/magic -parsing seems to be compatible with the (poorly documented) -System V /etc/magic format. + +This is Ian Darwin's (copyright but distributable) file(1) +command. It follows the USG (Sys V) model of the file command, +rather than the Research (V7) version or the V7-derived Berkeley +one. That is, there is a file (/etc/magic) that contains much +of the ritual information that is the source of this program's +power. It knows a little more magic (including tar archives) +than System V; the /etc/magic parsing seems to be compatible +with the (poorly documented) System V /etc/magic format (with +one exception; see the man page). In addition, the /etc/magic file is built from a subdirectory -for easier maintenance. At the instigation of John Gilmore, -I will act as a clearinghouse for magic numbers assigned to -all sorts of whacko data files that are in reasonable circulation. -Send your whacko magic numbers, in file(5) format please(!), to the -address above. +for easier maintenance. I will act as a clearinghouse for +magic numbers assigned to all sorts of whacko data files that +are in reasonable circulation. Send your whacko magic numbers, +in file(5) format please(!), to the author, Ian Darwin, +{utzoo|ihnp4}!darwin!ian, ian@sq.com. LEGAL.NOTICE - read this first. -README - read this second. -Makefile - read this third. -TODO - read this last (sigh). +README - read this second (you are currently reading this file). +PORTING - read this next. +Makefile - read this next, fix it if needed, type "make". apprentice.c - parses /etc/magic to learn magic ascmagic.c - third & last set of tests, based on hardwired assumptions. -core - not included in distribution +core - not included in distribution due to mailer limitations. debug.c - includes -c printout routine file.1 - man page +magic.4 - another man page, courtesy Guy Harris. file.c - main program file.h - fairly standard header file fsmagic.c - first set of tests the program runs, based on filesystem info -is_tar.c - knows about tarchives (courtesy of Fred Blonder, U Maryland) +is_tar.c - knows about tarchives (courtesy of John Gilmore). magdir - directory of /etc/magic pieces names.h - header file for ascmagic.c softmagic.c - 2nd set of tests, based on /etc/magic +strtok.c - in case you need it (from Henry Spencer). strtol.c - in case you need it -strtol.tst.c - in case you need to test it - |
