FILE(C) XENIX System V FILE(C)
Name
file - Determines file type.
Syntax
file [ -m ] file ...
file [ -m ] -f namesfile
Description
file performs a series of tests on each argument in an
attempt to classify it. If an argument appears to be ASCII,
file examines the first 512 bytes and tries to guess its
language.
If the -f option is given, file takes the list of filenames
from namesfile. If the -m option is given, file sets the
access time for the examined file to the current time.
Otherwise, the access time remains unchanged.
Several object file formats are recognized. For a.out and
x.out format object files, the relationship of cc flags to
file classification is -i for ``separate'', -n for ``pure'',
and -s for not ``not stripped.''
Credit
This utility was developed at the University of California
at Berkeley and is used with permission.
Notes
It can make mistakes: in particular it often mistakes
command files for C programs.
Page 1 (printed 8/7/87)