summaryrefslogtreecommitdiffstats
path: root/usr.bin/makewhatis
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-18 15:39:56 +0000
committerru <ru@FreeBSD.org>2002-05-18 15:39:56 +0000
commit1373edbd9d2b6b6c21e4663e39d19def61e17d25 (patch)
treedbf593d2751b89afa3ae47cd013f0c6f8551b2d3 /usr.bin/makewhatis
parent1c035eeb5cbfaad05c0f090f7aabf4d5de3b1ae6 (diff)
downloadFreeBSD-src-1373edbd9d2b6b6c21e4663e39d19def61e17d25.zip
FreeBSD-src-1373edbd9d2b6b6c21e4663e39d19def61e17d25.tar.gz
Fix markup.
Give Wolfram a credit for writing the original version in Perl like in killall(1).
Diffstat (limited to 'usr.bin/makewhatis')
-rw-r--r--usr.bin/makewhatis/makewhatis.130
1 files changed, 19 insertions, 11 deletions
diff --git a/usr.bin/makewhatis/makewhatis.1 b/usr.bin/makewhatis/makewhatis.1
index 4dc0843..9e2921f 100644
--- a/usr.bin/makewhatis/makewhatis.1
+++ b/usr.bin/makewhatis/makewhatis.1
@@ -24,8 +24,6 @@
.\"
.\" $FreeBSD$
.\"
-.\" Note: The date here should be updated whenever a non-trivial
-.\" change is made to the manual page.
.Dd May 12, 2002
.Dt MAKEWHATIS 1
.Os
@@ -40,11 +38,11 @@
.Op Fl o Ar file
.Op Fl v
.Op Fl L
-.Op Ar directories ...
+.Op Ar directories ...
.Sh DESCRIPTION
The
.Nm
-utility collects the names and short descriptions from all the unformatted
+utility collects the names and short descriptions from all the unformatted
man pages in the
.Ar directories
and puts them into a file used by the
@@ -57,20 +55,22 @@ If no
.Ar directories
are specified, the contents of the
.Ev MANPATH
-environment variable will be used, or if that is not set the default directory
+environment variable will be used, or if that is not set, the default directory
.Pa /usr/share/man
will be processed.
.Pp
The options are as follows:
.Bl -tag -width ".Fl i Ar column"
.It Fl a
-Appends to the output file(s) instead of replacing them. The output
+Appends to the output file(s) instead of replacing them.
+The output
will be sorted with duplicate lines removed, but may have obsolete
entries.
.It Fl i Ar column
Indents the description by
.Ar column
-characters. The default value is 24.
+characters.
+The default value is 24.
.It Fl n Ar name
Uses
.Ar name
@@ -80,7 +80,7 @@ instead of
Outputs all lines to the
.Ar file
instead of
-.Pa */whatis .
+.Pa */man/whatis .
.It Fl v
Makes
.Nm
@@ -114,12 +114,20 @@ The default output file.
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
-.Xr whatis 1 ,
-.Xr apropos 1
+.Xr apropos 1 ,
+.Xr whatis 1
.Sh HISTORY
-A previous version of the
+The
.Nm
command appeared in
.Fx 2.1 .
.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+program was originally written in Perl and was contributed by
+.An Wolfram Schneider .
+The current version of
+.Nm
+was rewritten in C by
.An John Rochester .
OpenPOWER on IntegriCloud