Reducing external/bsd/file differences

Change-Id: I0d025059ba0b200ac1162ea5a764fd756600ecd0
This commit is contained in:
2013-04-10 11:08:42 +02:00
parent c979136e4e
commit 08ff44c446
67 changed files with 1177 additions and 734 deletions

View File

@@ -1,7 +1,7 @@
.\" $NetBSD: file.1,v 1.8 2011/09/16 21:06:25 christos Exp $
.\" $NetBSD: file.1,v 1.9 2012/02/22 17:53:50 christos Exp $
.\"
.\" $File: file.man,v 1.96 2011/07/12 11:23:38 rrt Exp $
.Dd April 20, 2011
.\" $File: file.man,v 1.98 2011/12/08 12:12:46 rrt Exp $
.Dd October 17, 2011
.Dt FILE 1
.Os
.Sh NAME
@@ -26,7 +26,7 @@
.Nm
.Op Fl Fl help
.Sh DESCRIPTION
This manual page documents version 5.09 of the
This manual page documents version 5.11 of the
.Nm
command.
.Pp
@@ -194,7 +194,7 @@ option).
.It encoding
Different text encodings for soft magic tests.
.It tokens
Looks for known tokens inside text files.
Ignored for backwards compatibility.
.It cdf
Prints details of Compound Document Files.
.It compress
@@ -222,6 +222,19 @@ or at least one filename argument must be present;
to test the standard input, use
.Sq -
as a filename argument.
Please note that
.Ar namefile
is unwrapped and the enclosed filenames are processed when this option is
encountered and before any further options processing is done.
This allows one to process multiple lists of files with different command line
arguments on the same
.Nm
invocation.
Thus if you want to set the delimiter, you need to do it before you specify
the list of files, like:
.Dq Fl F Ar @ Fl f Ar namefile ,
instead of:
.Dq Fl f Ar namefile Fl F Ar @ .
.It Fl h , Fl Fl no-dereference
option causes symlinks not to be followed
(on systems that support symbolic links).