version 1.5.2.3, 2013/06/23 06:29:05 |
version 1.6, 2012/10/06 15:33:59 |
|
|
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
.\" SUCH DAMAGE. |
.\" SUCH DAMAGE. |
.\" |
.\" |
.Dd April 2, 2013 |
.Dd October 5, 2012 |
.Dt APROPOS 1 |
.Dt APROPOS 1 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
|
|
.Nd search the complete content of all man pages |
.Nd search the complete content of all man pages |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm |
.Op Fl 123456789CchilPpr |
.Op Fl 123456789Ccp |
.Op Fl n Ar results |
.Op Fl n Ar Number of results |
.Op Fl S Ar machine |
.Op Fl S Ar machine |
.Op Fl s Ar section |
.Op Fl s Ar section |
.Ar query |
.Ar query |
Line 66 Quotes are optional for specifying multi |
|
Line 66 Quotes are optional for specifying multi |
|
.Pp |
.Pp |
It supports the following options: |
It supports the following options: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl [1-9] |
.It Fl 1 |
Search only within the specified section manual pages. |
Search only within section 1 manual pages. |
|
.It Fl 2 |
|
Search only within section 2 manual pages. |
|
.It Fl 3 |
|
Search only within section 3 manual pages. |
|
.It Fl 4 |
|
Search only within section 4 manual pages. |
|
.It Fl 5 |
|
Search only within section 5 manual pages. |
|
.It Fl 6 |
|
Search only within section 6 manual pages. |
|
.It Fl 7 |
|
Search only within section 7 manual pages. |
|
.It Fl 8 |
|
Search only within section 8 manual pages. |
|
.It Fl 9 |
|
Search only within section 9 manual pages. |
.It Fl C |
.It Fl C |
Do not show the context of the match. |
Do not show the context of the match. |
.It Fl c |
.It Fl c |
Do show the context of the match (default). |
Do show the context of the match (default). |
.It Fl h |
.It Fl n |
Turn on html formatting. |
|
.It Fl i |
|
Turn on terminal escape code formatting. |
|
.It Fl l |
|
Legacy mode: Only searches name and name description. |
|
Does not print context and turns off formatting. |
|
.It Fl n Ar results |
|
Output up to the specified number of search results. |
Output up to the specified number of search results. |
The default limit is infinity. |
The default limit is 10. |
.It Fl P |
|
Turn on pager formatting. |
|
.It Fl p |
.It Fl p |
Turn on pager formatting, and pipe the results through a pager (defaulting to |
Display all matching results and pipe them through a pager (defaulting to |
.Xr more 1 ) . |
.Xr more 1 ) . |
.It Fl r |
|
Turn off formatting. |
|
.It Fl S Ar machine |
.It Fl S Ar machine |
Limit the search to the pages for the specified machine architecture. |
Limit the search to the pages for the specified machine architecture. |
By default pages for all architectures are shown in the search results. |
By default pages for all architectures are shown in the search results. |
Line 107 The location of the Sqlite FTS database |
|
Line 112 The location of the Sqlite FTS database |
|
.Cd _mandb |
.Cd _mandb |
tag. |
tag. |
.El |
.El |
.Sh ENVIRONMENT VARIABLES |
|
The |
|
.Ev APROPOS |
|
environment variables is white-space tokenized as an argument vector |
|
and the options in it are parsed and set. |
|
Command line options override the environment options. |
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr man 1 , |
.Xr man 1 , |
.Xr whatis 1 , |
.Xr whatis 1 , |