file.man (74784) | file.man (80588) |
---|---|
1.TH FILE __CSECTION__ "Copyright but distributable" | 1.TH FILE __CSECTION__ "Copyright but distributable" |
2.\" $Id: file.man,v 1.38 2001/03/11 20:37:08 christos Exp $ | 2.\" $Id: file.man,v 1.39 2001/04/27 22:48:33 christos Exp $ |
3.SH NAME 4file 5\- determine file type 6.SH SYNOPSIS 7.B file 8[ 9.B \-bciknsvzL 10] 11[ 12.B \-f | 3.SH NAME 4file 5\- determine file type 6.SH SYNOPSIS 7.B file 8[ 9.B \-bciknsvzL 10] 11[ 12.B \-f |
13namefile ] | 13.I namefile 14] |
14[ 15.B \-m | 15[ 16.B \-m |
16magicfiles ] 17file ... | 17.I magicfiles 18] 19.I file 20\&... |
18.br 19.B file 20.B -C 21[ 22.B \-m 23magicfile ] 24.SH DESCRIPTION 25This manual page documents version __VERSION__ of the --- 121 unchanged lines hidden (view full) --- 147.SH OPTIONS 148.TP 8 149.B \-b 150Do not prepend filenames to output lines (brief mode). 151.TP 8 152.B \-c 153Cause a checking printout of the parsed form of the magic file. 154This is usually used in conjunction with | 21.br 22.B file 23.B -C 24[ 25.B \-m 26magicfile ] 27.SH DESCRIPTION 28This manual page documents version __VERSION__ of the --- 121 unchanged lines hidden (view full) --- 150.SH OPTIONS 151.TP 8 152.B \-b 153Do not prepend filenames to output lines (brief mode). 154.TP 8 155.B \-c 156Cause a checking printout of the parsed form of the magic file. 157This is usually used in conjunction with |
158.B \-m 159to debug a new magic file before installing it. 160.TP 8 |
|
155.B \-C 156Write a magic.mgc output file that contains a pre-parsed version of 157file. | 161.B \-C 162Write a magic.mgc output file that contains a pre-parsed version of 163file. |
158.B \-m 159to debug a new magic file before installing it. | |
160.TP 8 | 164.TP 8 |
161.B \-f namefile | 165.BI \-f " namefile" |
162Read the names of the files to be examined from 163.I namefile 164(one per line) 165before the argument list. 166Either 167.I namefile 168or at least one filename argument must be present; 169to test the standard input, use ``\-'' as a filename argument. --- 7 unchanged lines hidden (view full) --- 177it handles files recognised by the command itself (such as many of the 178text file types, directories etc), and makes use of an alternative 179``magic'' file. 180(See ``FILES'' section, below). 181.TP 8 182.B \-k 183Don't stop at the first match, keep going. 184.TP 8 | 166Read the names of the files to be examined from 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. --- 7 unchanged lines hidden (view full) --- 181it handles files recognised by the command itself (such as many of the 182text file types, directories etc), and makes use of an alternative 183``magic'' file. 184(See ``FILES'' section, below). 185.TP 8 186.B \-k 187Don't stop at the first match, keep going. 188.TP 8 |
185.B \-m list | 189.BI \-m " list" |
186Specify an alternate list of files containing magic numbers. 187This can be a single file, or a colon-separated list of files. 188.TP 8 189.B \-n 190Force stdout to be flushed after checking each file. This is only useful if 191checking a list of files. It is intended to be used by programs that want 192filetype output from a pipe. 193.TP 8 --- 251 unchanged lines hidden --- | 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 --- 251 unchanged lines hidden --- |