summaryrefslogtreecommitdiffstats
path: root/usr.bin/file
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-10 17:46:15 +0000
committerru <ru@FreeBSD.org>2000-11-10 17:46:15 +0000
commita6f5d950d860b642619fd71c1efc1875f906cc17 (patch)
treed290d38e2fe5b5c638aa4cd22f5612eb6b8cd6de /usr.bin/file
parent48c9ea08a6fa4c9c3d612d66b001208c85107546 (diff)
downloadFreeBSD-src-a6f5d950d860b642619fd71c1efc1875f906cc17.zip
FreeBSD-src-a6f5d950d860b642619fd71c1efc1875f906cc17.tar.gz
Avoid use of direct troff requests in mdoc(7) manual pages.
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/file.122
1 files changed, 12 insertions, 10 deletions
diff --git a/usr.bin/file/file.1 b/usr.bin/file/file.1
index e4cef28..e50b396 100644
--- a/usr.bin/file/file.1
+++ b/usr.bin/file/file.1
@@ -163,22 +163,23 @@ 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.
For example,
-.br
->10 string language impress\ (imPRESS data)
-.br
+.Bd -literal -compact
+>10 string language impress (imPRESS data)
+.Ed
in an existing magic file would have to be changed to
-.br
+.Bd -literal -compact
>10 string language\e impress (imPRESS data)
-.br
+.Ed
+.Pp
In addition, in this version, if a pattern string contains a backslash,
it must be escaped. For example
-.br
+.Bd -literal -compact
0 string \ebegindata Andrew Toolkit document
-.br
+.Ed
in an existing magic file would have to be changed to
-.br
+.Bd -literal -compact
0 string \e\ebegindata Andrew Toolkit document
-.br
+.Ed
.Pp
SunOS releases 3.2 and later from Sun Microsystems include a
.Xr file 1
@@ -186,8 +187,9 @@ command derived from the System V one, but with some extensions.
My version differs from Sun's only in minor ways.
It includes the extension of the `&' operator, used as,
for example,
-.br
+.Bd -literal -compact
>16 long&0x7fffffff >0 not stripped
+.Ed
.Sh MAGIC DIRECTORY
The magic file entries have been collected from various sources,
mainly USENET, and contributed by various authors.
OpenPOWER on IntegriCloud