summaryrefslogtreecommitdiffstats
path: root/usr.bin/file
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-15 08:06:20 +0000
committerdd <dd@FreeBSD.org>2001-07-15 08:06:20 +0000
commit911ca14c8798a89d240d36ecbc63b5df5dd99f66 (patch)
tree62f210bf3aee25e49335dc77030fff6e97fbe447 /usr.bin/file
parenta145482cf625d5f04072fd1d20b5c2062cbe8e47 (diff)
downloadFreeBSD-src-911ca14c8798a89d240d36ecbc63b5df5dd99f66.zip
FreeBSD-src-911ca14c8798a89d240d36ecbc63b5df5dd99f66.tar.gz
Remove whitespace at EOL.
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/file.120
-rw-r--r--usr.bin/file/magic.520
2 files changed, 20 insertions, 20 deletions
diff --git a/usr.bin/file/file.1 b/usr.bin/file/file.1
index 0bc0450..8f9451f 100644
--- a/usr.bin/file/file.1
+++ b/usr.bin/file/file.1
@@ -155,15 +155,15 @@ to be
Do not prepend filenames to output lines (brief mode).
.It Fl c
Cause a checking printout of the parsed form of the magic file.
-This is usually used in conjunction with
+This is usually used in conjunction with
.Fl m
to debug a new magic file before installing it.
.It Fl f Ar namefile
-Read the names of the files to be examined from
+Read the names of the files to be examined from
.Ar namefile
-(one per line)
+(one per line)
before the argument list.
-Either
+Either
.Ar namefile
or at least one filename argument must be present;
to test the standard input, use
@@ -243,12 +243,12 @@ can be used to set the default magic number files.
.Sh STANDARDS CONFORMANCE
This program is believed to exceed the System V Interface Definition
of FILE(CMD), as near as one can determine from the vague language
-contained therein.
+contained therein.
Its behaviour is mostly compatible with the System V program of the same name.
This version knows more magic, however, so it will produce
-different (albeit more accurate) output in many cases.
+different (albeit more accurate) output in many cases.
.Pp
-The one significant difference
+The one significant difference
between this version and System V
is that this version treats any white space
as a delimiter, so that spaces in pattern strings must be escaped.
@@ -286,7 +286,7 @@ mainly USENET, and contributed by various authors.
.An Christos Zoulas
(address below) will collect additional
or corrected magic file entries.
-A consolidation of magic file entries
+A consolidation of magic file entries
will be distributed periodically.
.Pp
The order of entries in the magic file is significant.
@@ -296,7 +296,7 @@ If your old
.Nm
command uses a magic file,
keep the old magic file around for comparison purposes
-(rename it to
+(rename it to
.Pa /usr/share/misc/magic.orig ) .
.Sh EXAMPLES
.Bd -literal
@@ -325,7 +325,7 @@ file: application/x-executable, dynamically linked (uses shared libs), no
/dev/hda: application/x-not-regular-file
.Ed
.Sh HISTORY
-There has been a
+There has been a
.Nm
command in every
.Ux
diff --git a/usr.bin/file/magic.5 b/usr.bin/file/magic.5
index 9afcfab..445bdcb 100644
--- a/usr.bin/file/magic.5
+++ b/usr.bin/file/magic.5
@@ -5,7 +5,7 @@
.\"
.Dd December 8, 2000
.Dt MAGIC 5 "Public Domain"
-.Os
+.Os
.Sh NAME
.Nm magic
.Nd file command's magic number file
@@ -110,10 +110,10 @@ value,
to specify that the value from the file must be greater than the specified
value,
.Em & ,
-to specify that the value from the file must have set all of the bits
+to specify that the value from the file must have set all of the bits
that are set in the specified value,
.Em ^ ,
-to specify that the value from the file must have clear any of the bits
+to specify that the value from the file must have clear any of the bits
that are set in the specified value, or
.Em x ,
to specify that any value will match.
@@ -130,7 +130,7 @@ is octal, and
is hexadecimal.
.It ""
For string values, the byte string from the
-file must match the specified byte string.
+file must match the specified byte string.
The operators
.Em = ,
.Em <
@@ -184,11 +184,11 @@ The value at that offset is read, and is used again as an offset
in the file.
Indirect offsets are of the form:
.Em (x[.[bslBSL]][+-][y]) .
-The value of
+The value of
.Em x
is used as an offset in the file.
A byte, short or long is read at that offset
-depending on the
+depending on the
.Em [bslBSL]
type specifier.
The capitalized types interpret the number as a big endian value, whereas
@@ -203,13 +203,13 @@ Sometimes you do not know the exact offset as this depends on the length of
preceding fields.
You can specify an offset relative to the end of the
last uplevel field (of course this may only be done for sublevel tests, i.e.\&
-test beginning with
+test beginning with
.Em > Ns ) .
Such a relative offset is specified using
.Em &
as a prefix to the offset.
.Sh BUGS
-The formats
+The formats
.Em long ,
.Em belong ,
.Em lelong ,
@@ -221,7 +221,7 @@ The formats
and
.Em ledate
are system-dependent; perhaps they should be specified as a number
-of bytes (2B, 4B, etc),
+of bytes (2B, 4B, etc),
since the files being recognized typically come from
a system on which the lengths are invariant.
.Pp
@@ -237,7 +237,7 @@ indirect offsets.
.\" Date: 3 Sep 85 08:19:07 GMT
.\" Organization: Sun Microsystems, Inc.
.\" Lines: 136
-.\"
+.\"
.\" Here's a manual page for the format accepted by the "file" made by adding
.\" the changes I posted to the S5R2 version.
.\"
OpenPOWER on IntegriCloud