1 .\" $Id: mandocdb.8,v 1.21 2014/03/17 08:34:00 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: March 17 2014 $
23 .Nd index UNIX manuals
44 utility extracts keywords from
46 manuals and indexes them in a database for fast retrieval by
56 creates a database in each
60 .Sy man Ar section Li /
66 .Sy cat Ar section Li /
71 Existing databases are replaced.
76 uses the default paths stipulated by
81 The arguments are as follows:
82 .Bl -tag -width "-C file"
84 Use all directories and files found below
87 Specify an alternative configuration
93 Merge (remove and re-add)
98 Do not create or modify any database;
103 for potential problems.
109 All diagnostic messages are printed to the standard output;
110 the standard error output is not used.
117 Display all files added or removed to the index.
119 Print warnings about potential problems with manual pages
120 to the standard error output.
123 If fatal parse errors are encountered while parsing, the offending file
124 is printed to stderr, omitted from the index, and the parse continues
125 with the next input file.
129 A database of manpages relative to the directory of the file.
130 This file is portable across architectures and systems, so long as the
131 manpage hierarchy it indexes does not change.
140 utility exits with one of the following values:
142 .Bl -tag -width Ds -compact
146 Invalid command line arguments were specified.
147 No input files have been read.
149 An operating system error occurred, for example memory exhaustion or an
150 error accessing input files.
153 to exit at once, possibly in the middle of parsing or formatting a file.
154 The output databases are corrupt and should be removed.
164 utility first appeared in
175 argument first appeared in
193 started the Perl version in 2000,
194 and the current version of
197 .An Kristaps Dzonsons Aq Mt kristaps@bsd.lv
199 .An Ingo Schwarze Aq Mt schwarze@openbsd.org .