[BACK]Return to apropos.1 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/apropos.1 between version 1.18 and 1.19

version 1.18, 2012/06/08 10:44:52 version 1.19, 2012/06/09 14:11:15
Line 18 
Line 18 
 .Dt APROPOS 1  .Dt APROPOS 1
 .Os  .Os
 .Sh NAME  .Sh NAME
 .Nm apropos  .Nm apropos ,
   .Nm whatis
 .Nd search manual page databases  .Nd search manual page databases
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm  .Nm
Line 30 
Line 31 
 .Ar expression ...  .Ar expression ...
 .Sh DESCRIPTION  .Sh DESCRIPTION
 The  The
 .Nm  .Nm apropos
 utility queries manual page databases generated by  and
   .Nm whatis
   utilities query manual page databases generated by
 .Xr mandocdb 8 ,  .Xr mandocdb 8 ,
 evaluating on  evaluating on
 .Ar expression  .Ar expression
Line 44  searches for
Line 47  searches for
 databases in the default paths stipulated by  databases in the default paths stipulated by
 .Xr man 1  .Xr man 1
 and  and
 parses terms as case-sensitive words  maps terms to case-sensitive manual names and descriptions.
 over manual names and descriptions.  
 Multiple terms are OR'd.  Multiple terms are OR'd.
   .Nm whatis
   maps terms only to case-sensitive manual names.
 .Pp  .Pp
 Its arguments are as follows:  Its arguments are as follows:
 .Bl -tag -width Ds  .Bl -tag -width Ds
Line 77  See
Line 81  See
 for a listing of manual sections.  for a listing of manual sections.
 .El  .El
 .Pp  .Pp
 An  .Nm whatis
   considers an
 .Ar expression  .Ar expression
 consists of type and keyword pairs.  to consist of an opaque keyword.
   .Nm apropos
   parses a
   .Ar expression
   into type and keyword pairs.
 This pair syntax  This pair syntax
 .Li [key[,key]*(=~)]?val ,  .Li [key[,key]*(=~)]?val ,
 where operand  where operand
Line 113  is the manual's short description.
Line 122  is the manual's short description.
 If an architecture is specified for the manual, it is displayed as  If an architecture is specified for the manual, it is displayed as
 .Qq title(cat/arch) \- description .  .Qq title(cat/arch) \- description .
 .Ss Macro Keys  .Ss Macro Keys
 Queries evaluate over a subset of  .Nm apropos
   queries evaluate over a subset of
 .Xr mdoc 7  .Xr mdoc 7
 macros indexed by  macros indexed by
 .Xr mandocdb 8 .  .Xr mandocdb 8 .
Line 209  If none of these conditions are met, it overrides the 
Line 219  If none of these conditions are met, it overrides the 
 .El  .El
 .Sh FILES  .Sh FILES
 .Bl -tag -width "/etc/man.conf" -compact  .Bl -tag -width "/etc/man.conf" -compact
 .It Pa whatis.db  .It Pa mandocdb.db
 name of the  name of the
 .Xr mandocdb 8  .Xr mandocdb 8
 keyword database  keyword database
 .It Pa whatis.index  
 name of the  
 .Xr mandocdb 8  
 filename database  
 .It Pa /etc/man.conf  .It Pa /etc/man.conf
 default  default
 .Xr man 1  .Xr man 1

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

CVSweb