version 1.37, 2015/04/24 17:34:57 |
version 1.38, 2015/04/24 20:32:34 |
|
|
.Nd determine file type |
.Nd determine file type |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm |
.Bk -words |
|
.Op Fl bciLsW |
.Op Fl bciLsW |
.Ar |
.Ar |
.Ek |
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm |
.Nm |
|
|
or |
or |
.Em data |
.Em data |
meaning anything else. |
meaning anything else. |
.Sh OPTIONS |
.Pp |
|
The options are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl b |
.It Fl b |
Do not prepend filenames to output lines. |
Do not prepend filenames to output lines. |
.It Fl c |
.It Fl c |
Print a summary of the parsed magic file, usually used for debugging. |
Print a summary of the parsed magic file; usually used for debugging. |
.It Fl i , -mime , -mime-type |
.It Fl i , -mime , -mime-type |
Causes the file command to output MIME type strings rather than the more |
Causes the file command to output MIME type strings rather than the more |
traditional human-readable ones. |
traditional human-readable ones. |
|
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr magic 5 |
.Xr magic 5 |
.Sh AUTHORS |
.Sh AUTHORS |
|
.An -nosplit |
.Nm |
.Nm |
commands have appeared in many previous versions of |
commands have appeared in many previous versions of |
.Ux . |
.Ux . |
This version was written by Nicholas Marriott for |
This version was written by |
|
.An Nicholas Marriott |
|
for |
.Ox 5.8 |
.Ox 5.8 |
to replace the previous version originally written by Ian Darwin. |
to replace the previous version originally written by |
|
.An Ian Darwin . |
.Pp |
.Pp |
There is a large number of contributors to the magic files; many are listed in |
There is a large number of contributors to the magic files; many are listed in |
the source files. |
the source files. |