p This implementation of the .Nm utility is more sophisticated than the classical version. Like modern search applications, it uses advanced techniques like stemming and term weighting to rank the matching results in decreasing order of relevance.
p Quotes are optional for specifying multiword queries.
p It supports the following options: l -tag -width Fl t Fl 1 , No ... , Fl 9 Limit the search to the specified section of the manual. By default, pages from all sections are shown. These options are abbreviations for the .Fl s option for single digit sections. t Fl C Ar path Use different .Xr man 1 configuration file than the default,
a /etc/man.conf . t Fl h Turn on html formatting. t Fl i Turn on terminal escape code formatting. t Fl l Legacy mode: Only searches name and name description. Does not print context and turns off formatting. t Fl M Do not show the context of the match. t Fl m Show the context of the match (default). t Fl n Ar results Output up to the specified number of search results. The default limit is infinity. t Fl P Turn on pager formatting. t Fl p Turn on pager formatting, and pipe the results through a pager (defaulting to .Xr more 1 ) . t Fl r Turn off formatting. t Fl S Ar machine Limit the search to the pages for the specified machine architecture. By default pages for all architectures are shown in the search results. t Fl s Ar section Limit the search to the specified section of the manual. By default, pages from all sections are shown. For single digit sections you can use abbreviations: .Fl 1 , No ... , Fl 9 . .El .Sh FILES l -hang -width /etc/man.conf -compact t Pa /etc/man.conf The location of the SQLite FTS database can be configured using the .Cd _mandb tag. .El .Sh ENVIRONMENT VARIABLES l -tag -width Ev t Ev APROPOS This environment variable is white-space tokenized as an argument vector and the options in it are parsed and set. Command line options override the environment options. t Ev PAGER The pagination command used for writing the output, should this be requested. If the .Ev PAGER environment variable is null or not set, the standard pagination program .Xr more 1 will be used. .El .Sh SEE ALSO .Xr man 1 , .Xr whatis 1 , .Xr man.conf 5 , .Xr makemandb 8 .Sh HISTORY The .Nm command appeared in x 3 . It was rewritten in .Nx 6.0 to support full text search using SQLite. .Sh AUTHORS .An Abhinav Upadhyay