1 .\" $Id: whatis.1,v 1.7.2.2 2013/10/05 01:25:20 schwarze Exp $
3 .\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: October 5 2013 $
22 .Nd search for manual pages by page names
34 utility searches databases generated by
36 for manuals containing the word
38 in their page name, ignoring case.
39 It returns the header lines from all matching pages.
42 command to get more information.
48 databases in the default paths stipulated by
51 The options are as follows:
54 Specify an alternative configuration
60 Use the colon-separated
62 instead of the default list of paths searched for
65 Invalid paths, or paths without manual databases, are ignored.
67 Prepend the colon-separated
69 to the list of paths searched for
72 Invalid paths, or paths without manual databases, are ignored.
74 Search only for a particular architecture.
76 Search only for a manual section.
79 for a listing of manual sections.
82 Results are sorted by manual title, with output formatted as
84 .D1 title(sec) \- description
88 is the manual's title (note multiple manual names may exist for one
91 is the manual section, and
93 is the manual's short description.
94 If an architecture is specified for the manual, it is displayed as
96 .D1 title(cat/arch) \- description
98 Resulting manuals may be accessed as
100 .Dl $ man \-s sec title
102 If an architecture is specified in the output, use
104 .Dl $ man \-s sec \-S arch title
107 is identical to running
111 .Dl $ apropos -- -i 'Nm~[[:<:]]term[[:>:]]'
115 Colon-separated paths modifying the default list of paths searched for
117 Invalid paths, or paths without manual databases, are ignored.
124 it is appended to the default list;
127 it is prepended to the default list; else if it contains
129 the default list is inserted between the colons.
130 If none of these conditions are met, it overrides the default list.
133 .Bl -tag -width "/etc/man.conf" -compact
157 utility first appeared in
159 It was rewritten from scratch as part of the
170 The current version was written by
171 .An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .