rdbman - read or print manual entry
SYNOPSIS
rdbman [-p] [-s] command ...
DESCRIPTION
rdbman
reads the manual entry for
command
and displays it
on the screen (default) or prints it.
rdbman
searches the
/rdb
manual entries for
command
and if not found, calls
man
with
command
as its argument.
OPTIONS
- -p
- send the manual entries for the following files
to the line printer.
- -s
- send the manual entries for the following files to
the standard output.
DISCUSSION
Several environment variables can be manipulated to alter
the behavior of
rdbman.
If these variable are already set, they are used by
rdbman.
Otherwise, the following defaults apply, assessed in
left-to-right order where more than one is listed:
Variable Description Default(s)
--------------------------------------------------------------
$RDB /rdb home directory /usr/rdb
$RDBMAN /rdb man pages directory $RDB/man
$ROFF Unix text formatting command nroff
$PAGER standard output file viewer less, pg, more, cat
$LP print/spool command lp, lpr
EXAMPLES
To see the manual entry for
jve:
$ rdbman jve
To print a PostScript version of the manual entries for
prompt,
total,
and
vindex
and preview the PostScript'ed entry for
tabletotbl:
$ setenv ROFF "psroff -t"
$ setenv PAGER "xpreview -"
$ setenv LP lpr
$ rdbman -p prompt total vindex -s tabletotbl
SEE ALSO