[BACK]Return to apropos.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / apropos

Diff for /src/usr.bin/apropos/Attic/apropos.1 between version 1.5 and 1.16

version 1.5, 1999/07/04 11:53:50 version 1.16, 2012/01/22 13:45:22
Line 12 
Line 12 
 .\" 2. Redistributions in binary form must reproduce the above copyright  .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the  .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.  .\"    documentation and/or other materials provided with the distribution.
 .\" 3. All advertising materials mentioning features or use of this software  .\" 3. Neither the name of the University nor the names of its contributors
 .\"    must display the following acknowledgement:  
 .\"     This product includes software developed by the University of  
 .\"     California, Berkeley and its contributors.  
 .\" 4. Neither the name of the University nor the names of its contributors  
 .\"    may be used to endorse or promote products derived from this software  .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.  .\"    without specific prior written permission.
 .\"  .\"
Line 34 
Line 30 
 .\"  .\"
 .\"     @(#)apropos.1   8.1 (Berkeley) 6/29/93  .\"     @(#)apropos.1   8.1 (Berkeley) 6/29/93
 .\"  .\"
 .Dd June 29, 1993  .Dd $Mdocdate$
 .Dt APROPOS 1  .Dt APROPOS 1
 .Os  .Os
 .Sh NAME  .Sh NAME
Line 42 
Line 38 
 .Nd locate commands by keyword lookup  .Nd locate commands by keyword lookup
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm apropos  .Nm apropos
   .Op Fl C Ar file
 .Op Fl M Ar path  .Op Fl M Ar path
 .Op Fl m Ar path  .Op Fl m Ar path
 .Ar keyword  .Op Fl S Ar subsection
 .Op Ar ...  .Op Fl s Ar section
   .Ar keyword ...
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm  .Nm
 shows which manual pages contain instances of any of the given  shows which manual pages contain instances of any of the given
Line 61 
Line 59 
 If the line output by  If the line output by
 .Nm  .Nm
 starts  starts
 .Dq Li name(section) ...  .Dq Li name (section) ... ,
 you can enter  you can enter
 .Dq Li man section name  .Dq Li man section name
 to get  to get
 its documentation.  its documentation.
 .Pp  .Pp
 The options are as follows:  The options are as follows:
 .Bl -tag -width flag  .Bl -tag -width "-C file"
   .It Fl C Ar file
   Specify an alternative configuration
   .Ar file
   in
   .Xr man.conf 5
   format.
 .It Fl M Ar path  .It Fl M Ar path
 Override the list of standard directories  Override the list of standard directories
 .Nm  .Nm
Line 96 
Line 100 
 option or the  option or the
 .Ev MANPATH  .Ev MANPATH
 environment variable.  environment variable.
   .It Fl S Ar subsection
   Restrict the search to pages for the specified machine architecture.
   By default, pages for all architectures are shown.
   .It Fl s Ar section
   Restrict the search to the specified section of the manual.
   By default, pages from all sections are shown.
   .El
 .Sh ENVIRONMENT  .Sh ENVIRONMENT
 .Bl -tag -width MANPATH  .Bl -tag -width MANPATH
 .It Ev MANPATH  .It Ev MANPATH
Line 109 
Line 120 
 separated list of directories.  separated list of directories.
 .El  .El
 .Sh FILES  .Sh FILES
 .Bl -tag -width whatis.db -compact  .Bl -tag -width /etc/man.conf -compact
 .It Pa whatis.db  .It Pa whatis.db
 name of the apropos database  name of the apropos database
   .It Pa /etc/man.conf
   default
   .Xr man 1
   configuration file
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr man 1 ,  .Xr man 1 ,
 .Xr whatis 1 ,  .Xr whatis 1 ,
 .Xr whereis 1  .Xr whereis 1 ,
   .Xr man.conf 5 ,
   .Xr makewhatis 8
 .Sh HISTORY  .Sh HISTORY
 The  The
 .Nm  .Nm
 command appeared in  command first appeared in
 .Bx 3.0 .  .Bx 2 .
   .Pp
   The
   .Fl M
   option and the
   .Ev MANPATH
   variable first appeared in
   .Bx 4.3 ;
   .Fl m
   in
   .Bx 4.3 Reno ;
   .Fl C
   in
   .Bx 4.4 Lite1 ;
   and
   .Fl s
   and
   .Fl S
   in
   .Ox 4.5 .
   .Sh AUTHORS
   .An Bill Joy
   wrote the original
   .Bx
   .Nm
   in February 1979.

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.16