Deleted Added
full compact
README (192350) README (234449)
1** README for file(1) Command **
1** README for file(1) Command **
2@(#) $File: README,v 1.42 2009/02/14 15:16:24 christos Exp $
2@(#) $File: README,v 1.44 2011/03/24 13:03:39 rrt Exp $
3
3
4E-mail: christos@astron.com
5Mailing List: file@mx.gw.com
4Mailing List: file@mx.gw.com
5Bug tracker: http://bugs.gw.com/
6E-mail: christos@astron.com
6
7Phone: Do not even think of telephoning me about this program. Send cash first!
8
9This is Release 5.x of Ian Darwin's (copyright but distributable)
7
8Phone: Do not even think of telephoning me about this program. Send cash first!
9
10This is Release 5.x of Ian Darwin's (copyright but distributable)
10file(1) command. This version is the standard "file" command for Linux,
11file(1) command, an implementation of the Unix File(1) command.
12It knows the 'magic number' of several thousands of file types.
13This version is the standard "file" command for Linux,
11*BSD, and other systems. (See "patchlevel.h" for the exact release number).
12
14*BSD, and other systems. (See "patchlevel.h" for the exact release number).
15
16You can download the latest version of file from:
17
18 ftp://ftp.astron.com/pub/file/
19
20A public read-only git repository is available at:
21
22 https://github.com/glensc/file
23
13The major changes for 5.x are CDF file parsing, indirect magic, and
14overhaul in mime and ascii encoding handling.
15
16The major feature of 4.x is the refactoring of the code into a library,
17and the re-write of the file command in terms of that library. The library
18itself, libmagic can be used by 3rd party programs that wish to identify
19file types without having to fork() and exec() file. The prime contributor
20for 4.0 was M\xe5ns Rullg\xe5rd.

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

97 * One line short summary
98 * Optional long description
99 * File extension, if applicable
100 * Full name and contact method (for discussion when entry has problem)
101 * Further reference, such as documentation of format
102
103------------------------------------------------------------------------------
104
24The major changes for 5.x are CDF file parsing, indirect magic, and
25overhaul in mime and ascii encoding handling.
26
27The major feature of 4.x is the refactoring of the code into a library,
28and the re-write of the file command in terms of that library. The library
29itself, libmagic can be used by 3rd party programs that wish to identify
30file types without having to fork() and exec() file. The prime contributor
31for 4.0 was M\xe5ns Rullg\xe5rd.

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

108 * One line short summary
109 * Optional long description
110 * File extension, if applicable
111 * Full name and contact method (for discussion when entry has problem)
112 * Further reference, such as documentation of format
113
114------------------------------------------------------------------------------
115
105You can download the latest version of file from:
106
107 ftp://ftp.astron.com/pub/file/
108
109If your gzip sometimes fails to decompress things complaining about a short
110file, apply this patch [which is going to be in the next version of gzip]:
111*** - Tue Oct 29 02:06:35 1996
112--- util.c Sun Jul 21 21:51:38 1996
113*** 106,111 ****
114--- 108,114 ----
115
116 if (insize == 0) {
117 if (eof_ok) return EOF;
118+ flush_window();
119 read_error();
120 }
121 bytes_in += (ulg)insize;
122
123Parts of this software were developed at SoftQuad Inc., developers
124of SGML/HTML/XML publishing software, in Toronto, Canada.
116Parts of this software were developed at SoftQuad Inc., developers
117of SGML/HTML/XML publishing software, in Toronto, Canada.
125SoftQuad was swallowed up by Corel in 2002
126and does not exist any longer.
127
128From: Kees Zeelenberg
129
130An MS-Windows (Win32) port of File-4.17 is available from
131http://gnuwin32.sourceforge.net/
132
133File is an implementation of the Unix File(1) command.
134It knows the 'magic number' of several thousands of file types.
118SoftQuad was swallowed up by Corel in 2002 and does not exist any longer.