xref: /original-bsd/usr.bin/file/file.1 (revision c3e32dec)
1.\" Copyright (c) 1990, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)file.1	8.1 (Berkeley) 06/06/93
7.\"
8.Dd
9.Dt FILE 1
10.Os
11.Sh NAME
12.Nm file
13.Nd identify file content
14.Sh SYNOPSIS
15.Nm file
16.Ar
17.Sh DESCRIPTION
18.Nm File
19tests the given argument(s) and reports
20the content type(s).
21If
22the file type is text,
23it attempts to determine
24the type of text (e.g.
25.Xr csh 1
26commands or C code).
27.Sh BUGS
28As many tests are used and
29.Nm
30stops testing on the first successful one,
31it can make mistakes.
32In particular,
33.Nm
34does not recognize Pascal or
35.Tn LISP .
36.Sh HISTORY
37A
38.Nm file
39command appeared in
40.At v6 .
41