1 .\" $Id: makewhatis.8,v 1.2 2014/04/25 12:13:15 schwarze Exp $
3 .\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
4 .\" Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 .Dd $Mdocdate: April 25 2014 $
23 .Nd index UNIX manuals
49 utility extracts keywords from
51 manuals and indexes them in a database for fast retrieval by
61 creates a database in each
65 .Sy man Ar section Li /
71 .Sy cat Ar section Li /
76 Existing databases are replaced.
81 uses the default paths stipulated by
86 The arguments are as follows:
87 .Bl -tag -width "-C file"
89 Use all directories and files found below
92 Specify an alternative configuration
98 Display all files added or removed to the index.
101 also show all keyswords added for each file.
103 Merge (remove and re-add)
108 Do not create or modify any database; scan and parse only,
109 and print manual page names and descriptions to standard output.
111 Print warnings about potential problems with manual pages
112 to the standard error output.
114 Quickly build reduced-size databases
115 by reading only the NAME sections of manuals.
116 The resulting databases will usually contain names and descriptions only.
118 Use UTF-8 encoding instead of ASCII for strings stored in the databases.
122 for potential problems.
128 All diagnostic messages are printed to the standard output;
129 the standard error output is not used.
137 If fatal parse errors are encountered while parsing, the offending file
138 is printed to stderr, omitted from the index, and the parse continues
139 with the next input file.
143 A database of manpages relative to the directory of the file.
144 This file is portable across architectures and systems, so long as the
145 manpage hierarchy it indexes does not change.
154 utility exits with one of the following values:
156 .Bl -tag -width Ds -compact
160 Invalid command line arguments were specified.
161 No input files have been read.
163 An operating system error occurred, for example memory exhaustion or an
164 error accessing input files.
167 to exit at once, possibly in the middle of parsing or formatting a file.
168 The output databases are corrupt and should be removed.
178 utility first appeared in
189 argument first appeared in
211 started the Perl version in 2000,
212 and the current version of
215 .An Kristaps Dzonsons Aq Mt kristaps@bsd.lv
217 .An Ingo Schwarze Aq Mt schwarze@openbsd.org .