diff --git a/usr.sbin/makemandb/apropos.1 b/usr.sbin/makemandb/apropos.1 index d32994630e5f..d6c7bc08a6b5 100644 --- a/usr.sbin/makemandb/apropos.1 +++ b/usr.sbin/makemandb/apropos.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: apropos.1,v 1.13 2013/04/02 18:35:28 wiz Exp $ +.\" $NetBSD: apropos.1,v 1.14 2013/11/29 23:58:23 wiz Exp $ .\" .\" Copyright (c) 2011 Abhinav Upadhyay .\" All rights reserved. @@ -29,7 +29,7 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 2, 2013 +.Dd November 22, 2013 .Dt APROPOS 1 .Os .Sh NAME @@ -47,14 +47,13 @@ The .Nm utility performs a full text search over the complete content of all man pages. It uses the FTS engine of Sqlite to perform the search. -The database is created with the help of +The database is created with the help of the .Xr makemandb 8 utility. .Pp This implementation of the .Nm -utility is more sophisticated than the classical version of -.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. diff --git a/usr.sbin/makemandb/makemandb.8 b/usr.sbin/makemandb/makemandb.8 index 3298925630c7..64f25bc3d21c 100644 --- a/usr.sbin/makemandb/makemandb.8 +++ b/usr.sbin/makemandb/makemandb.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: makemandb.8,v 1.6 2012/10/06 15:33:59 wiz Exp $ +.\" $NetBSD: makemandb.8,v 1.7 2013/11/29 23:58:23 wiz Exp $ .\" .\" Copyright (c) 2011 Abhinav Upadhyay .\" All rights reserved. @@ -29,12 +29,13 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd October 5, 2012 +.Dd November 23, 2013 .Dt MAKEMANDB 8 .Os .Sh NAME .Nm makemandb -.Nd parse the manual pages and build a search index over them +.Nd parse the manual pages and build a search index for +.Xr apropos 1 .Sh SYNOPSIS .Nm .Op Fl floQqv @@ -44,8 +45,8 @@ The .Nm utility traverses the directories containing man pages, parses the manual pages with the help of libmandoc and builds an Sqlite database -.Pa man.db -to support full text searches. +to support full text searches by +.Xr apropos 1 . It obtains the list of directories to traverse using the .Fl Ar path and