From 9f377ad834aa2e1d809587cf6dde2394c8310ec8 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 18 May 2002 15:39:56 +0000 Subject: [PATCH] Fix markup. Give Wolfram a credit for writing the original version in Perl like in killall(1). --- usr.bin/makewhatis/makewhatis.1 | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/usr.bin/makewhatis/makewhatis.1 b/usr.bin/makewhatis/makewhatis.1 index 4dc0843f651..9e2921f9be9 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 .