.\" Man page for manpath .\" .\" Copyright (C) 1995, Graeme W. Wilford. (Wilf.) .\" Copyright (C) 2001-2019 Colin Watson. .\" .\" You may distribute under the terms of the GNU General Public .\" License as specified in the COPYING file that comes with the .\" man-db distribution. .\" .\" Sun Jan 22 22:15:17 GMT 1995 Wilf. (G.Wilford@ee.surrey.ac.uk) .\" .pc "" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH MANPATH 1 2021-02-08 2.9.4 マニュアルページユーティリティー .SH 名前 manpath \- マニュアルページの検索パスを設定します .SH 書式 \fBmanpath\fP [\|\fB\-qgdc?V\fP\|] [\|\fB\-m\fP \fIsystem\fP\|[\|,.\|.\|.\|]\|] [\|\fB\-C\fP \fIfile\fP\|] .SH 説明 $\fBMANPATH\fP 環境変数が設定されている場合、 \fBmanpath\fP は単にその内容を表示し、警告を発行します。設定されていない場合、 \fBmanpath\fP は適切なマニュアルページ階層検索パスを決定し、その結果を表示します。 The colon\-delimited path is determined using information gained from the man\-db configuration file \(en (\fI/etc/manpath.config\fP) and the user's environment. .SH オプション .TP .if !'po4a'hide' .BR \-q ", " \-\-quiet 警告を発行しません。 .TP .if !'po4a'hide' .BR \-d ", " \-\-debug デバッグ情報を表示します。 .TP .if !'po4a'hide' .BR \-c ", " \-\-catpath manpath に対応する catpath (整形済みマニュアルページのパス) を生成します。一度 manpath が決定してから、それぞれのパス要素に対応する catpath に変換します。 .TP .if !'po4a'hide' .BR \-g ", " \-\-global Produce a manpath consisting of all paths named as "global" within the man\-db configuration file. .TP \fB\-m\fP \fIsystem\fP\|[\|,.\|.\|.\|]\|, \fB\-\-systems=\fP\fIsystem\fP\|[\|,.\|.\|.\|] システム上で他の OS のマニュアル階層にアクセスできる場合、このオプションを使用すると \fBmanpath\fP にそれらを含めることができます。 NewOS のマニュアルページ階層を含める場合は \fB\-m\fP \fBNewOS\fP オプションを使用します。 \fIsystem\fP はコンマ区切りの OS 名で指定します。現在の OS のマニュアルページ階層を含める場合は、システム名の引数文字列に \fBman\fP を含めます。このオプションは $\fBSYSTEM\fP 環境変数を上書きします。 .TP \fB\-C\ \fP\fIfile\fP,\ \fB\-\-config\-file=\fP\fIfile\fP デフォルトの \fI~/.manpath\fP ではなく指定したユーザ設定ファイルを使用します。 .TP .if !'po4a'hide' .BR \-? ", " \-\-help ヘルプメッセージを表示して終了します。 .TP .if !'po4a'hide' .B \-\-usage Print a short usage message and exit. .TP .if !'po4a'hide' .BR \-V ", " \-\-version バージョン情報を表示します。 .SH 環境変数 .TP .if !'po4a'hide' .B MANPATH $\fBMANPATH\fP が設定されている場合、 \fBmanpath\fP はその場でマニュアルページ検索パスを決定するのでは無く、 $\fBMANPATH\fP の値を表示します。 $\fBMANPATH\fP の先頭にコロンが存在する場合、 $\fBMANPATH\fP 環境変数の値が設定ファイルの中身から決定されるリストの後に付加されます。 $\fBMANPATH\fP の末尾にコロンが存在する場合、設定ファイルの中身から決定されるリストが $\fBMANPATH\fP 環境変数の値の後に付加されます。 $\fBMANPATH\fP にコロンが連続して存在する (\fB::\fP) 場合、設定ファイルの中身から決定されるリストが連続して存在するコロンの間に付加されます。 .TP .if !'po4a'hide' .B SYSTEM $\fBSYSTEM\fP が設定されている場合、 \fB\-m\fP オプションで指定した引数と同様の効果があります。 .SH ファイル .TP \w'/etc/manpath.config'u+2n .if !'po4a'hide' .I /etc/manpath.config man\-db 設定ファイルです。 .SH 関連項目 .if !'po4a'hide' .BR apropos (1), .if !'po4a'hide' .BR man (1), .if !'po4a'hide' .BR whatis (1) .SH 著者 .nf .if !'po4a'hide' Wilf.\& (G.Wilford@ee.surrey.ac.uk). .if !'po4a'hide' Fabrizio Polacco (fpolacco@debian.org). .if !'po4a'hide' Colin Watson (cjwatson@debian.org). .fi .SH バグ .if !'po4a'hide' https://savannah.nongnu.org/bugs/?group=man-db