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

Diff for /mandoc/catman.8 between version 1.3 and 1.5

version 1.3, 2011/12/18 18:51:01 version 1.5, 2011/12/25 19:35:44
Line 32  The
Line 32  The
 .Nm  .Nm
 utility updates cached manpages for a jailed  utility updates cached manpages for a jailed
 .Xr man.cgi 7 .  .Xr man.cgi 7 .
   .Pp
   By default,
   .Nm
   searches for
   .Xr mandocdb 8
   databases in the default paths stipulated by
   .Xr man 1
   and updates the cache in
   .Pa /var/www/cache/man.cgi .
   .Pp
 Its arguments are as follows:  Its arguments are as follows:
 .Bl -tag -width Ds  .Bl -tag -width Ds
 .It Fl f  .It Fl f
Line 61  Update into the directory tree under
Line 71  Update into the directory tree under
 .Ar path .  .Ar path .
 .El  .El
 .Pp  .Pp
 By default,  Cache updates occur when a
 .Nm  
 searches for  
 .Xr mandocdb 8  .Xr mandocdb 8
 databases in the default paths stipulated by  database is older than the cached copy unless
 .Xr man 1  
 and updates the cache in  
 .Pa /var/www/cache/man.cgi .  
 .Pp  
 An update occurs when a  
 .Xr mandocdb 8  
 database is older than the cached copy.  
 Cached manual pages are only updated if older than the master copy.  
 If  
 .Fl f  .Fl f
 is specified, all files are updated.  is specified, in which case files are always considered out of date.
   Cached manual pages are only updated if older than the master copy.
 .Sh ENVIRONMENT  .Sh ENVIRONMENT
 .Bl -tag -width Ds  .Bl -tag -width Ds
 .It Ev MANPATH  .It Ev MANPATH
 Colon-separated paths overriding the default list of paths searched for  Colon-separated paths modifying the default list of paths searched for
 manual databases.  manual databases.
 Invalid paths, or paths without manual databases, are ignored.  Invalid paths, or paths without manual databases, are ignored.
 Overridden by  Overridden by
 .Fl M .  .Fl M .
   If
   .Ev MANPATH
   begins with a
   .Sq \&: ,
   it is appended to the default list;
   else if it ends with
   .Sq \&: ,
   it is prepended to the default list; else if it contains
   .Sq \&:: ,
   the default list is inserted between the colons.
   If none of these conditions are met, it overrides the default list.
 .El  .El
 .Sh EXIT STATUS  .Sh EXIT STATUS
 .Ex -std  .Ex -std

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

CVSweb