xref: /original-bsd/usr.bin/file/file.1 (revision a6d4d8bb)
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)file.1	6.5 (Berkeley) 06/17/91
7.\"
8.Vx
9.Vx
10.Dd
11.Dt FILE 1
12.Os
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
21tests the given argument(s) and reports
22the content type(s).
23If
24the file type is text,
25it attempts to determine
26the type of text (e.g.
27.Xr csh 1
28commands or C code).
29.Sh BUGS
30As many tests are used and
31.Nm
32stops testing on the first successful one,
33it can make mistakes.
34In particular,
35.Nm
36does not recognize Pascal or LISP.
37.\" .Sh ENVIRONMENT
38.Sh HISTORY
39A
40.Nm file
41command appeared in Version 6 AT&T UNIX.
42