Skip to content

Commit

Permalink
Make mandb path configurable. makemandb (and related tools) use
Browse files Browse the repository at this point in the history
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

Patch by me, committed by wiz. (Diff imported from NetBSD CVS repo.)
  • Loading branch information
abhinav-upadhyay committed Dec 23, 2012
1 parent babd748 commit 57ca0e7
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions whatis.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.\" $NetBSD: whatis.1,v 1.1 2012/02/07 19:13:32 joerg Exp $
.\" $NetBSD: whatis.1,v 1.2 2012/10/06 15:33:59 wiz Exp $
.\"
.\" Copyright (c) 2012 Joerg Sonnenberger <[email protected]>
.\" All rights reserved.
Expand Down Expand Up @@ -27,7 +27,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd February 1, 2012
.Dd October 5, 2012
.Dt WHATIS 1
.Os
.Sh NAME
Expand All @@ -39,12 +39,19 @@
.Sh DESCRIPTION
The
.Nm
program queries the database
.Pa /var/db/man.db
for manual pages with name
program queries the apropos database built by
.Xr makemandb 8 .
It searches for manual pages with name
.Ar command
and prints the name of the manual page, the section and the description from
the section NAME.
and outputs name of the matching manual pages along with the section and the
brief description from the NAME section.
.Sh FILES
.Bl -hang -width /etc/man.conf -compact
.It Pa /etc/man.conf
The location of the Sqlite FTS database can be configured using the
.Cd _mandb
tag.
.El
.Sh SEE ALSO
.Xr apropos 1 ,
.Xr makemandb 8
Expand Down

0 comments on commit 57ca0e7

Please sign in to comment.