summaryrefslogtreecommitdiff
path: root/usr.bin/man
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-19 05:05:24 +0000
committerlukem <lukem@NetBSD.org>1997-10-19 05:05:24 +0000
commit6d1c625f54047c94c8ea6f2f7050cd258cfb403c (patch)
tree2fa7b61294360f85f19e1cc24c03c4c4211e6583 /usr.bin/man
parent7c81c8f378d0f6d324039451f1cb953d6e56918b (diff)
fix up .Nm usage
Diffstat (limited to 'usr.bin/man')
-rw-r--r--usr.bin/man/man.126
-rw-r--r--usr.bin/man/man.conf.58
2 files changed, 17 insertions, 17 deletions
diff --git a/usr.bin/man/man.1 b/usr.bin/man/man.1
index 6bb4ad79e42..637b2a857c6 100644
--- a/usr.bin/man/man.1
+++ b/usr.bin/man/man.1
@@ -38,7 +38,7 @@
.Nm man
.Nd display the on-line manual pages
.Sh SYNOPSIS
-.Nm man
+.Nm
.Op Fl achw
.Op Fl C Ar file
.Op Fl M Ar path
@@ -47,7 +47,7 @@
.Ar name Ar ...
.Sh DESCRIPTION
The
-.Nm man
+.Nm
utility
displays the
.Bx
@@ -82,7 +82,7 @@ Display only the
lines of the requested manual pages.
.It Fl M
Override the list of standard directories which
-.Nm man
+.Nm
searches for manual pages.
The supplied
.Ar path
@@ -91,11 +91,11 @@ This search path may also be set using the environment variable
.Ev MANPATH .
The subdirectories to be searched, and their search order,
is specified by the ``_subdir'' line in the
-.Nm man
+.Nm
configuration file.
.It Fl m
Augment the list of standard directories which
-.Nm man
+.Nm
searches for manual pages.
The supplied
.Ar path
@@ -108,11 +108,11 @@ option or the
environment variable.
The subdirectories to be searched, and their search order,
is specified by the ``_subdir'' line in the
-.Nm man
+.Nm
configuration file.
.It Fl w
List the pathnames of the manual pages which
-.Nm man
+.Nm
would display for the specified
.Ar section
and
@@ -123,10 +123,10 @@ combination.
The optional
.Ar section
argument restricts the directories that
-.Nm man
+.Nm
will search.
The
-.Nm man
+.Nm
configuration file (see
.Xr man.conf 5 )
specifies the possible
@@ -134,13 +134,13 @@ specifies the possible
values that are currently available.
If only a single argument is specified or if the first argument is
not a valid section,
-.Nm man
+.Nm
assumes that the argument is the name of a manual page to be displayed.
.Sh ENVIRONMENT
.Bl -tag -width MANPATHX
.It Ev MACHINE
As some manual pages are intended only for specific architectures,
-.Nm man
+.Nm
searches any subdirectories,
with the same name as the current architecture,
in every directory which it searches.
@@ -151,7 +151,7 @@ variable
to the name of a specific architecture.
.It Ev MANPATH
The standard search path used by
-.Nm man
+.Nm
may be overridden by specifying a path in the
.Ev MANPATH
environment
@@ -159,7 +159,7 @@ variable.
The format of the path is a colon (``:'') separated list of directories.
The subdirectories to be searched as well as their search order
is specified by the ``_subdir'' line in the
-.Nm man
+.Nm
configuration file.
.It Ev PAGER
Any value of the environment variable
diff --git a/usr.bin/man/man.conf.5 b/usr.bin/man/man.conf.5
index 353a30236fb..2d1495be057 100644
--- a/usr.bin/man/man.conf.5
+++ b/usr.bin/man/man.conf.5
@@ -46,14 +46,14 @@ and
.Xr whatis 1
commands
search for manual pages or their database files as specified by the
-.Nm man.conf
+.Nm
file.
Manual pages are normally expected to be preformatted (see
.Xr nroff 1 )
and named with a trailing ``.0''.
.Pp
The
-.Nm man.conf
+.Nm
file contains two types of lines.
.Pp
The first type of line is a ``section'' line, which contains a
@@ -74,7 +74,7 @@ Before searching any directory for a manual page, the
command always searches the subdirectory with the same name
as the current machine type, if it exists.
No specification of these subdirectories is necessary in the
-.Nm man.conf
+.Nm
file.
.Pp
Section names are unrestricted except for the reserved words specified
@@ -140,7 +140,7 @@ Empty lines or lines whose first non-whitespace character is a hash
mark (``#'') are ignored.
.Sh EXAMPLES
Given the following
-.Nm man.conf
+.Nm
file:
.Bd -literal -offset indent
_version BSD.2