Usage: makewhatis [-s sections] [-u] [-v] [-w] [manpath] [-c [catpath]] [-o whatisdb] This will build the whatis database for the man pages found in manpath and the cat pages found in catpath. -s: sections (default: 1 1p 8 2 3 3p 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x) -u: update database with pages added today -U: update database with pages added since last makewhatis run -v: verbose -o: location of whatis database (default: /var/cache/man/whatis) -w: use manpath obtained from `man --path` [manpath]: man directories (default: /usr/share/man) [catpath]: cat directories (default: the first existing directory in /usr/share/man)
Usage: makewhatis [-s sections] [-u] [-v] [-w] [manpath] [-c [catpath]] [-o whatisdb] This will build the whatis database for the man pages found in manpath and the cat pages found in catpath. -s: sections (default: 1 1p 8 2 3 3p 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x) -u: update database with pages added today -U: update database with pages added since last makewhatis run -v: verbose -o: location of whatis database (default: /var/cache/man/whatis) -w: use manpath obtained from `man --path` [manpath]: man directories (default: /usr/share/man) [catpath]: cat directories (default: the first existing directory in /usr/share/man)
MAKEWHATIS(8) MAKEWHATIS(8) 名前 makewhatis - whatis データベースを生成する 書式 makewhatis [-u] [-v] [-w] [-s sections ] [-c [catpath]] [manpath] 説明 makewhatis は引数で与えられた manpath のうちの sections にある全てのマ ニュアルページや、 catpath のうちの sections にある全てのフォーマット済 み ペ ー ジを読み込む。それぞれのページに対し、 makewhatis は一つの行を whatis データベースに書き込む。各行にはページの名前と短い説明が、ダッシ ュ (-) で区切られたかたちで記述される。説明はマニュアルページの NAME ( 名前・名称) セクションの内容から抽出される。 英語以外の言語では NAME 以外の用語をセクション名に用いるた め 、 make- whatis はこれに等価な単語をチェコ語、イタリア語、フィンランド語、フラン ス語、ドイツ語、スペイン語に対して認識する。 訳注: JM にある日本語パッチを当てた makewhatis は、日本語のタイトルに対 応しています。 manpath 引数が与えられなければ、デフォルトでは /usr/man を用いる。 オプション -u データベースを新しいページの情報で更新する。 -v 饒舌な出力をする。 -w manpath を ‘man --path‘ で得られる値にする。 -s sections manpath または catpath の sections をみる。このオプションを省略 すると、 ´1 2 3 4 5 6 7 8 9 n l´ が仮定される。 -c catpath catpath に置かれたフォーマット済みのマニュアルページをスキャンす る。この引数を省略すると、 /usr/man/preformat と /usr/man の先に 見付かったほうのディレクトリが仮定される。 例 /usr/X11R6/man/whatis と /usr/local/man/whatis だけを再構築する。 makewhatis /usr/X11R6/man /usr/local/man フィンランド語、フランス語、イタリア語の翻訳を含め、全てのデータベー ス を再構築する。 LANGUAGE=fi:fr:it makewhatis -w バグ makewhatis は標準的でない troff で記述されたマニュアページ (Tcl/Tk のペ ージなど) をあまりうまく扱うことができない。 makewhatis は翻訳版のフォーマット済みページには動作できない。 関連項目 apropos(1), man(1), whatis(1) 22 January 1999 MAKEWHATIS(8)
MAKEWHATIS(8) MAKEWHATIS(8)
NAME
makewhatis - Create the whatis database
SYNOPSIS
makewhatis [-u] [-v] [-w] [-s sections ] [-c [catpath]] [manpath]
DESCRIPTION
makewhatis reads all the manual pages contained in the given sections
of manpath or the preformatted pages contained in the given sections of
catpath. For each page, it writes a line in the whatis database; each
line consists of the name of the page and a short description, sepa-
rated by a dash. The description is extracted using the content of the
NAME section of the manual page.
Since other languages use a different term for the NAME section, make-
whatis recognizes the equivalent terms in Czech, Italian, Finnish,
French, German and Spanish.
If no manpath argument is given, /usr/man is assumed by default.
OPTIONS
-u Update database with new pages (file’s status was last changed
24 hours ago)
-v Verbose output
-w Use manpath obtained from ‘man --path‘
-s sections
Looks in the sections of manpath or catpath. If the option is
absent, the MANSECT env var will be used. If it too is absent,
the MANSECT setting in man.conf will be used.
-c catpath
The preformatted manual pages located in catpath are scanned. If
the argument is not provided, it is assumed to be the first
existing directory between /usr/man/preformat and /usr/man.
EXAMPLES
To rebuild only /usr/X11R6/man/whatis and /usr/local/man/whatis
makewhatis /usr/X11R6/man /usr/local/man
To rebuild all the databases, including those of the Finnish, French
and Italian translations
LANGUAGE=fi:fr:it makewhatis -w
BUGS
makewhatis may not handle too well manual pages written with non-stan-
dard troff macros, such as the Tcl/Tk pages.
makewhatis does not work on preformatted translations.
AUTHOR
John W. Eaton was the original author of man. Zeyd M. Ben-Halim
released man 1.2, and Andries Brouwer followed up with versions 1.3
thru 1.5p. Federico Lucifredi
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa