2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>The File package contains the file program.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>File tests each specified file in an attempt to classify it. There are
|
2001-01-24 00:31:17 +00:00
|
|
|
three sets of tests, performed in this order: filesystem tests,
|
|
|
|
magic number tests, and language tests. The first test that succeeds
|
2001-07-22 20:45:10 +01:00
|
|
|
causes the file type to be printed.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|