
whatis -
whatis [-dlhvV] [-r|-w] [-s ]
[-m [,...]] [-M ] [-L ] [-C ] ... whatis [-dlhvV] [-r|-w] [-s ] [-m
[,...]] [-M ] [-L ] [-C ] ...
. whatis
, .
(-w)
(-r). ,
(\)
,
.
,
mandb. ,
cron
. whatis
, :
whatis -M manpath -w '*' | sort > manpath/whatis
manpath -- , /usr/man.
-d, --debug
.
-v, --verbose
.
-r, --regex
.
,
.
-w, --wildcard
,
. ,
.
whatis -
-l, --long
. ,
.
-s , --section
.
, "3",
"3", "3perl", "3x" ;
, "3perl",
.
-m [,...], --systems=[,...]
, NewOS, -m NewOS.
. , man.
$SYSTEM.
-M , --manpath=
( )
. , whatis
$MANPATH, , manpath $PATH.
$MANPATH.
-L , --locale=
whatis, , C- setlocale(3), , $LC_MESSAGES $LANG.
,
, whatis. ,
.
-C , --config-file=
~/.manpath.
-h, --help
.
-V, --version
.
0 .
1 ,
.
2 .
16 .
SYSTEM $SYSTEM
-m.
MANPATH
$MANPATH,
( )
.
MANWIDTH
$MANWIDTH,
( --long). , , , ioctl(2) $COLUMNS. ,
80 .
/usr/share/man/index.(bt|db|dir|pag)
index.
/var/cache/man/index.(bt|db|dir|pag)
FHS index.
/usr/share/man/.../whatis
whatis.
apropos(1), man(1), mandb(8).
Wilf. (G.Wilford@ee.surrey.ac.uk).
Fabrizio Polacco (fpolacco@debian.org).
Colin Watson (cjwatson@debian.org).