1 .\" $Id: whatis.1,v 1.3 2011/11/29 10:59:19 kristaps 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: November 29 2011 $
22 .Nd search manual page databases
33 utility searches for manuals named or described with
35 in manual page databases generated by
37 Its arguments are as follows:
40 Use the colon-separated path instead of the default list of paths
44 Invalid paths, or paths without manual databases, are ignored.
46 Prepend the colon-separated paths to the list of paths searched
50 Invalid paths, or paths without manual databases, are ignored.
52 Search only for a particular architecture.
54 Search only for a manual section.
57 for a listing of manual sections.
64 databases in the default paths stipulated by
66 Results are sorted by manual title, with output formatted as
68 .D1 title(sec) \- description
72 is the manual's title (note multiple manual names may exist for one
75 is the manual section, and
77 is the manual's short description.
78 If an architecture is specified for the manual, it is displayed as
80 .D1 title(cat/arch) \- description
82 Resulting manuals may be accessed as
84 .Dl $ man \-s sec title
86 If an architecture is specified in the output, use
88 .Dl $ man \-s sec \-S arch title
91 is identical to running
95 .Dl $ apropos -- -i 'Nm~[[:<:]]term[[:>:]]'
99 Colon-separated paths overriding the default list of paths searched for
101 Invalid paths, or paths without manual databases, are ignored.
115 utility was written by
116 .An Kristaps Dzonsons ,
117 .Mt kristaps@bsd.lv .