=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/apropos/Attic/apropos.1,v retrieving revision 1.4 retrieving revision 1.8 diff -u -r1.4 -r1.8 --- src/usr.bin/apropos/Attic/apropos.1 1998/09/23 04:32:34 1.4 +++ src/usr.bin/apropos/Attic/apropos.1 2003/03/10 05:51:29 1.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apropos.1,v 1.4 1998/09/23 04:32:34 aaron Exp $ +.\" $OpenBSD: apropos.1,v 1.8 2003/03/10 05:51:29 millert Exp $ .\" $NetBSD: apropos.1,v 1.4 1995/09/04 20:46:17 tls Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -42,24 +42,25 @@ .Nd locate commands by keyword lookup .Sh SYNOPSIS .Nm apropos +.Op Fl C Ar file .Op Fl M Ar path .Op Fl m Ar path .Ar keyword .Op Ar ... .Sh DESCRIPTION -.Nm apropos +.Nm shows which manual pages contain instances of any of the given .Ar keyword(s) in their title line. Each word is considered separately and case of letters is ignored. Words which are part of other words are considered; when looking for .Dq compile , -.Nm apropos +.Nm will also list all instances of .Dq compiler . .Pp If the line output by -.Nm apropos +.Nm starts .Dq Li name(section) ... you can enter @@ -68,10 +69,16 @@ its documentation. .Pp The options are as follows: -.Bl -tag -width flag +.Bl -tag -width Ds +.It Fl C Ar file +Specify an alternative configuration +.Ar file +in +.Xr man.conf 5 +format. .It Fl M Ar path Override the list of standard directories -.Nm apropos +.Nm searches for a database named .Pa whatis.db . The supplied @@ -83,7 +90,7 @@ .Ev MANPATH . .It Fl m Ar path Augment the list of standard directories -.Nm apropos +.Nm searches for its database. The supplied .Ar path @@ -96,6 +103,7 @@ option or the .Ev MANPATH environment variable. +.El .Sh ENVIRONMENT .Bl -tag -width MANPATH .It Ev MANPATH @@ -109,16 +117,22 @@ separated list of directories. .El .Sh FILES -.Bl -tag -width whatis.db -compact +.Bl -tag -width /etc/man.conf -compact .It Pa whatis.db name of the apropos database +.It Pa /etc/man.conf +default +.Xr man 1 +configuration file .El .Sh SEE ALSO .Xr man 1 , .Xr whatis 1 , -.Xr whereis 1 +.Xr whereis 1 , +.Xr man.conf 5 , +.Xr makewhatis 8 .Sh HISTORY The -.Nm apropos +.Nm command appeared in .Bx 3.0 .