Print this page
Latest round of fixes per RM and AL.  Fix bugs found in man.c.

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/catman.1m
          +++ new/usr/src/man/man1m/catman.1m
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  .\" You may only use this file in accordance with the terms of version
   5    5  .\" 1.0 of the CDDL.
   6    6  .\"
   7    7  .\" A full copy of the text of the CDDL should have accompanied this
   8    8  .\" source.  A copy of the CDDL is also available via the Internet at
   9    9  .\" http://www.illumos.org/license/CDDL.
  10   10  .\"
  11   11  .\"
  12   12  .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
  13   13  .\"
  14      -.Dd Jul 16, 2014
  15      -.Dt CATAMN 1M
       14 +.Dd Jul 19, 2014
       15 +.Dt CATMAN 1M
  16   16  .Os
  17   17  .Sh NAME
  18   18  .Nm catman
  19   19  .Nd generate
  20   20  .Nm whatis
  21   21  database files
  22   22  .Sh SYNOPSIS
  23   23  .Nm
  24   24  .Op Fl M Ar path
       25 +.Op Fl w
  25   26  .Sh DESCRIPTION
  26   27  The
  27   28  .Nm
  28   29  utility generates a set of
  29   30  .Nm whatis
  30   31  database files suitable for use with
  31   32  .Xr apropos 1
  32   33  and
  33   34  .Xr whatis 1 .
  34   35  It is supplied for compatibility reasons.  The same databases can
  35   36  be generated using the
  36   37  .Fl w
  37   38  option with
  38   39  .Xr man 1 ,
  39   40  and that command should be used instead.
       41 +.Sh OPTIONS
  40   42  .Bl -tag -width ".Fl d"
  41   43  .It Fl M Ar path
  42   44  Generate the
  43   45  .Nm whatis
  44   46  database files within the specified colon separated manual paths.
  45   47  Overrides the
  46   48  .Ev MANPATH
  47   49  environment variable.
       50 +.It Fl w
       51 +This option is present for backwards compatibility, and is ignored.
  48   52  .El
  49   53  .Sh ENVIRONMENT
  50   54  The following environment variables affect the execution of
  51   55  .Nm :
  52   56  .Bl -tag -width ".Ev MANPATH"
  53   57  .It Ev MANPATH
  54   58  Used to specify a colon seperated list of manual paths within
  55   59  which to generate
  56   60  .Nm whatis
  57   61  database files.
  58   62  .El
  59      -.Sh DIAGNOSTICS
  60      -The
  61      -.Nm
  62      -utility exits 0 on success, and non-zero otherwise.
       63 +.Sh EXIT STATUS
       64 +.Ex -std
  63   65  .Sh INTERFACE STABILITY
  64   66  .Nm "Obsolete Committed" .
  65   67  .Sh CODE SET INDEPENDENCE
  66   68  Enabled.
  67   69  .Sh SEE ALSO
  68   70  .Xr apropos 1 ,
  69   71  .Xr man 1 ,
  70   72  .Xr whatis 1
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX