Deleted Added
full compact
README (84685) README (103373)
1** README for file(1) Command **
1** README for file(1) Command **
2@(#) $Id: README,v 1.25 2001/07/23 21:30:22 christos Exp $
2@(#) $Id: README,v 1.26 2002/05/16 18:45:56 christos Exp $
3
4This is Release 3.x of Ian Darwin's (copyright but distributable)
5file(1) command. This version is the standard "file" command for Linux,
6*BSD, and other systems. (See "patchlevel.h" for the exact release number).
7
8UNIX is a trademark of UNIX System Laboratories.
9
10The prime contributor to Release 3.8 was Guy Harris, who put in megachanges
3
4This is Release 3.x of Ian Darwin's (copyright but distributable)
5file(1) command. This version is the standard "file" command for Linux,
6*BSD, and other systems. (See "patchlevel.h" for the exact release number).
7
8UNIX is a trademark of UNIX System Laboratories.
9
10The prime contributor to Release 3.8 was Guy Harris, who put in megachanges
11including byte-order independance.
11including byte-order independence.
12
13The prime contributor to Release 3.0 was Christos Zoulas, who put
14in hundreds of lines of source code changes, including his own
15ANSIfication of the code (I liked my own ANSIfication better, but
16his (__P()) is the "Berkeley standard" way of doing it, and I wanted UCB
17to include the code...), his HP-like "indirection" (a feature of
18the HP file command, I think), and his mods that finally got the
19uncompress (-z) mode finished and working.

--- 18 unchanged lines hidden (view full) ---

38LEGAL.NOTICE - read this first.
39README - read this second (you are currently reading this file).
40PORTING - read this only if the program won't compile.
41Makefile - read this next, adapt it as needed (particularly
42 the location of the old existing file command and
43 the man page layouts), type "make" to compile,
44 "make try" to try it out against your old version.
45 Expect some diffs, particularly since your original
12
13The prime contributor to Release 3.0 was Christos Zoulas, who put
14in hundreds of lines of source code changes, including his own
15ANSIfication of the code (I liked my own ANSIfication better, but
16his (__P()) is the "Berkeley standard" way of doing it, and I wanted UCB
17to include the code...), his HP-like "indirection" (a feature of
18the HP file command, I think), and his mods that finally got the
19uncompress (-z) mode finished and working.

--- 18 unchanged lines hidden (view full) ---

38LEGAL.NOTICE - read this first.
39README - read this second (you are currently reading this file).
40PORTING - read this only if the program won't compile.
41Makefile - read this next, adapt it as needed (particularly
42 the location of the old existing file command and
43 the man page layouts), type "make" to compile,
44 "make try" to try it out against your old version.
45 Expect some diffs, particularly since your original
46 file(1) may not grok the imbedded-space ("\ ") in
46 file(1) may not grok the embedded-space ("\ ") in
47 the current magic file, or may even not use the
48 magic file.
49apprentice.c - parses /etc/magic to learn magic
50ascmagic.c - third & last set of tests, based on hardwired assumptions.
51core - not included in distribution due to mailer limitations.
52debug.c - includes -c printout routine
53file.1 - man page for the command
54magic.4 - man page for the magic file, courtesy Guy Harris.
55 Install as magic.4 on USG and magic.5 on V7 or Berkeley; cf Makefile.
56file.c - main program
57file.h - header file
58fsmagic.c - first set of tests the program runs, based on filesystem info
59is_tar.c, tar.h - knows about tarchives (courtesy John Gilmore).
60magdir - directory of /etc/magic pieces
61 magdir/Makefile - ADJUST THIS FOR YOUR CONFIGURATION
62names.h - header file for ascmagic.c
63softmagic.c - 2nd set of tests, based on /etc/magic
47 the current magic file, or may even not use the
48 magic file.
49apprentice.c - parses /etc/magic to learn magic
50ascmagic.c - third & last set of tests, based on hardwired assumptions.
51core - not included in distribution due to mailer limitations.
52debug.c - includes -c printout routine
53file.1 - man page for the command
54magic.4 - man page for the magic file, courtesy Guy Harris.
55 Install as magic.4 on USG and magic.5 on V7 or Berkeley; cf Makefile.
56file.c - main program
57file.h - header file
58fsmagic.c - first set of tests the program runs, based on filesystem info
59is_tar.c, tar.h - knows about tarchives (courtesy John Gilmore).
60magdir - directory of /etc/magic pieces
61 magdir/Makefile - ADJUST THIS FOR YOUR CONFIGURATION
62names.h - header file for ascmagic.c
63softmagic.c - 2nd set of tests, based on /etc/magic
64readelf.[ch] - Standalone elf parsing code.
64readelf.[ch] - Stand-alone elf parsing code.
65compress.c - on-the-fly decompression.
65compress.c - on-the-fly decompression.
66internat.c - recognize international `text' files.
67print.c - print results, errors, warnings.
68
69If your gzip sometimes fails to decompress things complaining about a short
70file, apply this patch [which is going to be in the next version of gzip]:
71*** - Tue Oct 29 02:06:35 1996
72--- util.c Sun Jul 21 21:51:38 1996
73*** 106,111 ****
74--- 108,114 ----

--- 24 unchanged lines hidden ---
66print.c - print results, errors, warnings.
67
68If your gzip sometimes fails to decompress things complaining about a short
69file, apply this patch [which is going to be in the next version of gzip]:
70*** - Tue Oct 29 02:06:35 1996
71--- util.c Sun Jul 21 21:51:38 1996
72*** 106,111 ****
73--- 108,114 ----

--- 24 unchanged lines hidden ---