1 .\" $Id: whatis.1,v 1.4 2011/12/12 02:00:49 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: December 12 2011 $
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.
44 The options are as follows:
47 Specify an alternative configuration
53 Use the colon-separated
55 instead of the default list of paths searched for
58 Invalid paths, or paths without manual databases, are ignored.
60 Prepend the colon-separated
62 to the list of paths searched for
65 Invalid paths, or paths without manual databases, are ignored.
67 Search only for a particular architecture.
69 Search only for a manual section.
72 for a listing of manual sections.
79 databases in the default paths stipulated by
81 Results are sorted by manual title, with output formatted as
83 .D1 title(sec) \- description
87 is the manual's title (note multiple manual names may exist for one
90 is the manual section, and
92 is the manual's short description.
93 If an architecture is specified for the manual, it is displayed as
95 .D1 title(cat/arch) \- description
97 Resulting manuals may be accessed as
99 .Dl $ man \-s sec title
101 If an architecture is specified in the output, use
103 .Dl $ man \-s sec \-S arch title
106 is identical to running
110 .Dl $ apropos -- -i 'Nm~[[:<:]]term[[:>:]]'
114 Colon-separated paths overriding the default list of paths searched for
116 Invalid paths, or paths without manual databases, are ignored.
121 .Bl -tag -width "/etc/man.conf" -compact
145 utility first appeared in
147 It was rewritten from scratch as part of the
158 The current version was written by
159 .An Kristaps Dzonsons ,
160 .Mt kristaps@bsd.lv .