summaryrefslogtreecommitdiff
path: root/usr/src/man/man1/file.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1/file.1')
-rw-r--r--usr/src/man/man1/file.122
1 files changed, 14 insertions, 8 deletions
diff --git a/usr/src/man/man1/file.1 b/usr/src/man/man1/file.1
index 2e84d1a3d3..ad67949b07 100644
--- a/usr/src/man/man1/file.1
+++ b/usr/src/man/man1/file.1
@@ -129,7 +129,7 @@ files that have a magic number. For example, in the Japanese locale, \fBfile\fR
will try to use \fB/usr/lib/locale/ja/LC_MESSAGES/magic\fR. If a localized
magic file does not exist, \fBfile\fR will utilize \fB/etc/magic\fR. A magic
number is a numeric or string constant that indicates the file type. See
-\fBmagic\fR(4) for an explanation of the format of \fB/etc/magic\fR.
+\fBmagic\fR(5) for an explanation of the format of \fB/etc/magic\fR.
.sp
.LP
If \fIfile\fR does not exist, cannot be read, or its file status could not be
@@ -222,7 +222,7 @@ Uses \fImfile\fR as an alternate magic file, instead of \fB/etc/magic\fR.
.ad
.RS 22n
Specifies the name of a file containing position-sensitive tests that are
-applied to a file in order to classify it (see \fBmagic\fR(4)). If the \fB-m\fR
+applied to a file in order to classify it (see \fBmagic\fR(5)). If the \fB-m\fR
option is specified without specifying the \fB-d\fR option or the \fB-M\fR
option, position-sensitive default system tests are applied after the
position-sensitive tests specified by the \fB-m\fR option.
@@ -237,7 +237,7 @@ position-sensitive tests specified by the \fB-m\fR option.
.ad
.RS 12n
Specifies the name of a file containing position-sensitive tests that are
-applied to a file in order to classify it (see \fBmagic\fR(4)). No
+applied to a file in order to classify it (see \fBmagic\fR(5)). No
position-sensitive default system tests nor context-sensitive default system
tests are applied unless the \fB-d\fR option is also specified.
.RE
@@ -264,7 +264,7 @@ A path name of a file to be tested.
.SH USAGE
.sp
.LP
-See \fBlargefile\fR(5) for the description of the behavior of \fBfile\fR when
+See \fBlargefile\fR(7) for the description of the behavior of \fBfile\fR when
encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
.SH EXAMPLES
.LP
@@ -285,7 +285,7 @@ file "$1" | grep \(miFq executable &&
.SH ENVIRONMENT VARIABLES
.sp
.LP
-See \fBenviron\fR(5) for descriptions of the following environment variables
+See \fBenviron\fR(7) for descriptions of the following environment variables
that affect the execution of \fBfile\fR: \fBLANG\fR, \fBLC_ALL\fR,
\fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
.SH EXIT STATUS
@@ -323,7 +323,7 @@ An error occurred.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -341,5 +341,11 @@ Interface Stability Standard
.SH SEE ALSO
.sp
.LP
-\fBcrle\fR(1), \fBelfdump\fR(1), \fBls\fR(1), \fBmagic\fR(4),
-\fBattributes\fR(5), \fBenviron\fR(5), \fBlargefile\fR(5), \fBstandards\fR(5)
+.BR crle (1),
+.BR elfdump (1),
+.BR ls (1),
+.BR magic (5),
+.BR attributes (7),
+.BR environ (7),
+.BR largefile (7),
+.BR standards (7)