I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
98 lines
2.1 KiB
Groff
98 lines
2.1 KiB
Groff
.\" Man page for manpath
|
|
.\"
|
|
.\" Copyright (c) 1990, 1991, John W. Eaton.
|
|
.\"
|
|
.\" You may distribute under the terms of the GNU General Public
|
|
.\" License as specified in the README file that comes with the man 1.0
|
|
.\" distribution.
|
|
.\"
|
|
.\" John W. Eaton
|
|
.\" jwe@che.utexas.edu
|
|
.\" Department of Chemical Engineering
|
|
.\" The University of Texas at Austin
|
|
.\" Austin, Texas 78712
|
|
.\"
|
|
.\" %FreeBSD: src/gnu/usr.bin/man/manpath/manpath.man,v 1.9 2001/10/01 16:58:30 ru Exp %
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.Dd August 16, 1999
|
|
.Dt MANPATH 1
|
|
.Os
|
|
.Sh 名称
|
|
.Nm manpath
|
|
.Nd マニュアルページのユーザのサーチパスを決める
|
|
.Sh 書式
|
|
.Nm
|
|
.Op Fl dLq
|
|
.Sh 解説
|
|
.Nm manpath
|
|
はシステム標準およびユーザの
|
|
.Ev PATH
|
|
からユーザのマニュアルページのサーチパスを決め、結果を標準出力へ表示
|
|
します。また警告およびエラーは標準エラー出力へ出力します。ユーザの
|
|
.Ev PATH
|
|
中のディレクトリが
|
|
.Pa manpath.config
|
|
ファイルに無いときには、
|
|
.Nm
|
|
は
|
|
そのディレクトリで
|
|
.Pa man
|
|
または
|
|
.Pa MAN
|
|
という名前のサブディレクトリを探し、
|
|
見付かればそれをサーチパスに追加します。
|
|
これらが存在せず、ディレクトリが
|
|
.Pa /bin
|
|
で終了する場合、
|
|
.Nm
|
|
は
|
|
.Pa /bin
|
|
を
|
|
.Pa /man
|
|
で置き換え、このディレクトリが存在するか検査します。
|
|
これが存在する場合、サーチパスに追加されます。
|
|
.Pp
|
|
.Nm
|
|
は
|
|
.Xr man 1
|
|
がサーチパスを決めるのにも使用します。したがって、普通はユーザが環境
|
|
変数
|
|
.Ev MANPATH
|
|
を直接設定する必要はありません。
|
|
.Pp
|
|
オプションを以下に示します:
|
|
.Bl -tag -width Fl
|
|
.It Fl d
|
|
追加のデバッグ情報を表示します。
|
|
.It Fl L
|
|
(存在すれば) マニュアルロケールリストを表示します。
|
|
.It Fl q
|
|
「静かに」実行します。最終的なマニュアルページのサーチパスだけを表示します。
|
|
.El
|
|
.Sh 環境変数
|
|
.Bl -tag -width MANLOCALES -compact
|
|
.It Ev MANPATH
|
|
.Ev MANPATH
|
|
を設定すると
|
|
.Nm
|
|
はその設定を標準出力に表示し、標準エラー出力に警告を出力します。
|
|
.It Ev MANLOCALES
|
|
.Ev MANLOCALES
|
|
が設定され
|
|
.Fl L
|
|
オプションが指定されると、
|
|
.Nm
|
|
はその設定を標準出力に表示し、標準エラー出力に警告を出力します。
|
|
.El
|
|
.Sh 関連ファイル
|
|
.Bl -tag -width /etc/manpath.config -compact
|
|
.It Pa /etc/manpath.config
|
|
システムの設定ファイル
|
|
.El
|
|
.Sh 関連項目
|
|
.Xr apropos 1 ,
|
|
.Xr man 1 ,
|
|
.Xr whatis 1
|
|
.Sh バグ
|
|
既知のバグはありません。
|