Commit | Line | Data |
---|---|---|
d9d7a9f0 CL |
1 | .\" Copyright (c) 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
4d1d8fc2 | 3 | .\" |
d9d7a9f0 CL |
4 | .\" %sccs.include.redist.man% |
5 | .\" | |
d0719240 | 6 | .\" @(#)file.1 6.4 (Berkeley) %G% |
d9d7a9f0 | 7 | .\" |
ee9b0a0a CL |
8 | .Vx |
9 | .Vx | |
d9d7a9f0 CL |
10 | .Dd |
11 | .Dt FILE 1 | |
ee9b0a0a | 12 | .Os |
d9d7a9f0 CL |
13 | .Sh NAME |
14 | .Nm file | |
15 | .Nd identify file content | |
16 | .Sh SYNOPSIS | |
17 | .Nm file | |
18 | .Ar | |
19 | .Sh DESCRIPTION | |
20 | .Nm File | |
21 | tests the given argument(s) and reports | |
22 | the content type(s). | |
23 | If | |
24 | the file type is text, | |
25 | it attempts to determine | |
26 | the type of text (e.g. | |
27 | .Xr csh 1 | |
28 | commands or C code) | |
29 | .Pp | |
30 | As several tests | |
31 | are used and | |
32 | .Nm file | |
33 | stops testing on the first successful one, | |
34 | it can make mistakes. | |
35 | .Pp | |
36 | .Nm File | |
37 | does not recognize Pascal or LISP. | |
38 | .\" .Sh ENVIRONMENT | |
39 | .Sh HISTORY | |
40 | A | |
41 | .Nm file | |
42 | command appeared in Version 6 AT&T UNIX. |