Deleted Added
full compact
file.man (103373) file.man (110949)
1.TH FILE __CSECTION__ "Copyright but distributable"
1.TH FILE __CSECTION__ "Copyright but distributable"
2.\" $Id: file.man,v 1.42 2002/07/03 18:26:37 christos Exp $
2.\" $Id: file.man,v 1.43 2003/02/08 18:33:53 christos Exp $
3.SH NAME
4file
5\- determine file type
6.SH SYNOPSIS
7.B file
8[
3.SH NAME
4file
5\- determine file type
6.SH SYNOPSIS
7.B file
8[
9.B \-bciknsvzL
9.B \-bciknNsvzL
10]
11[
12.B \-f
13.I namefile
14]
15[
10]
11[
12.B \-f
13.I namefile
14]
15[
16.B \-F
17separator ]
18[
16.B \-m
17.I magicfiles
18]
19.I file
20\*[Am]...
21.br
22.B file
23.B -C

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

167.I namefile
168(one per line)
169before the argument list.
170Either
171.I namefile
172or at least one filename argument must be present;
173to test the standard input, use ``\-'' as a filename argument.
174.TP 8
19.B \-m
20.I magicfiles
21]
22.I file
23\*[Am]...
24.br
25.B file
26.B -C

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

170.I namefile
171(one per line)
172before the argument list.
173Either
174.I namefile
175or at least one filename argument must be present;
176to test the standard input, use ``\-'' as a filename argument.
177.TP 8
178.BI \-F " separator"
179Use the specified separator character instead of ``:''.
180.TP 8
175.B \-i
176Causes the file command to output mime type strings rather than the more
177traditional human readable ones. Thus it may say
178``text/plain; charset=us-ascii''
179rather
180than ``ASCII text''. In order for this option to work, file changes the way
181it handles files recognised by the command itself (such as many of the
182text file types, directories etc), and makes use of an alternative

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

190Specify an alternate list of files containing magic numbers.
191This can be a single file, or a colon-separated list of files.
192.TP 8
193.B \-n
194Force stdout to be flushed after checking each file. This is only useful if
195checking a list of files. It is intended to be used by programs that want
196filetype output from a pipe.
197.TP 8
181.B \-i
182Causes the file command to output mime type strings rather than the more
183traditional human readable ones. Thus it may say
184``text/plain; charset=us-ascii''
185rather
186than ``ASCII text''. In order for this option to work, file changes the way
187it handles files recognised by the command itself (such as many of the
188text file types, directories etc), and makes use of an alternative

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

196Specify an alternate list of files containing magic numbers.
197This can be a single file, or a colon-separated list of files.
198.TP 8
199.B \-n
200Force stdout to be flushed after checking each file. This is only useful if
201checking a list of files. It is intended to be used by programs that want
202filetype output from a pipe.
203.TP 8
204.B \-N
205Don't pad output to align filenames nicely.
206.TP 8
198.B \-v
199Print the version of the program and exit.
200.TP 8
201.B \-z
202Try to look inside compressed files.
203.TP 8
204.B \-L
205option causes symlinks to be followed, as the like-named option in

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

223disk partitions, which are block special files.
224This option also causes
225.B file
226to disregard the file size as reported by
227.BR stat (2)
228since on some systems it reports a zero size for raw disk partitions.
229.SH FILES
230.I __MAGIC__.mgc
207.B \-v
208Print the version of the program and exit.
209.TP 8
210.B \-z
211Try to look inside compressed files.
212.TP 8
213.B \-L
214option causes symlinks to be followed, as the like-named option in

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

232disk partitions, which are block special files.
233This option also causes
234.B file
235to disregard the file size as reported by
236.BR stat (2)
237since on some systems it reports a zero size for raw disk partitions.
238.SH FILES
239.I __MAGIC__.mgc
231\- defaults compiled list of magic numbers
240\- default compiled list of magic numbers
232.PP
233.I __MAGIC__
234\- default list of magic numbers
235.PP
236.I __MAGIC__.mime
237\- default list of magic numbers, used to output mime types when the -i option
238is specified.
239

--- 214 unchanged lines hidden ---
241.PP
242.I __MAGIC__
243\- default list of magic numbers
244.PP
245.I __MAGIC__.mime
246\- default list of magic numbers, used to output mime types when the -i option
247is specified.
248

--- 214 unchanged lines hidden ---