Print this page
Latest round of fixes per RM and AL. Fix bugs found in man.c.
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1/apropos.1
+++ new/usr/src/man/man1/apropos.1
1 1 .\"
2 2 .\" This file and its contents are supplied under the terms of the
3 3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 4 .\" You may only use this file in accordance with the terms of version
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
5 5 .\" 1.0 of the CDDL.
6 6 .\"
7 7 .\" A full copy of the text of the CDDL should have accompanied this
8 8 .\" source. A copy of the CDDL is also available via the Internet at
9 9 .\" http://www.illumos.org/license/CDDL.
10 10 .\"
11 11 .\"
12 12 .\" Copyright 2012 Nexenta Systems, Inc. All rights reserved.
13 13 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
14 14 .\"
15 -.Dd Jul 13, 2014
15 +.Dd Jul 18, 2014
16 16 .Dt APROPOS 1
17 17 .Os
18 18 .Sh NAME
19 19 .Nm apropos ,
20 20 .Nm whatis
21 21 .Nd keyword search in
22 22 .Nm whatis
23 23 database files
24 24 .Sh SYNOPSIS
25 25 .Nm
26 26 .Op Fl M Ar path
27 27 .Op Fl s Ar section
28 28 .Ar keyword ...
29 29 .Nm whatis
30 30 .Op Fl M Ar path
31 31 .Op Fl s Ar section
32 32 .Ar keyword ...
33 33 .Sh DESCRIPTION
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
34 34 The
35 35 .Nm
36 36 utility searches a set of
37 37 .Nm whatis
38 38 database files matching each
39 39 .Ar keyword .
40 40 The
41 41 .Nm whatis
42 42 utility does the same search but only on complete words. The
43 43 .Nm whatis
44 -database files are created using
44 +database files are created using the
45 45 .Xr man 1
46 46 command.
47 +.Sh OPTIONS
47 48 .Bl -tag -width ".Fl d"
48 49 .It Fl M Ar path
49 50 Force a specific colon separated manual path instead of the default search path.
50 51 Overrides the
51 52 .Ev MANPATH
52 53 environment variable.
53 54 .It Fl s Ar section
54 55 Restrict search to specified
55 56 .Ar section .
56 57 .El
57 58 .Sh ENVIRONMENT
58 59 The following environment variables affect the execution of
59 60 .Nm :
60 61 .Bl -tag -width ".Ev MANPATH , PATH"
61 62 .It Ev MANPATH , PATH
62 63 Used to find the location of the
63 64 .Nm whatis
64 65 database files.
65 66 .El
66 67 .Sh DIAGNOSTICS
67 68 The
68 69 .Nm
69 70 utility exits 0 if a keyword matched and 1 if no keywords are matched or no
70 71 .Nm whatis
71 72 databases are found.
72 73 .Sh INTERFACE STABILITY
73 74 .Nm Committed .
74 75 .Sh CODE SET INDEPENDENCE
75 76 Enabled.
76 77 .Sh SEE ALSO
77 78 .Xr man 1 ,
78 79 .Xr mandoc 1
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX