.\"
.TH WHEREIS 1 "8 May 1994"
.\"O .SH NAME
-.SH ̾Á°
+.SH 名前
.\"O whereis \- locate the binary, source, and manual page files for a command
-whereis \- ¥³¥Þ¥ó¥É¤Î¥Ð¥¤¥Ê¥ê¡¦¥½¡¼¥¹¡¦man ¥Ú¡¼¥¸¤Î¾ì½ê¤ò¼¨¤¹
+whereis \- コマンドのバイナリ・ソース・man ページの場所を示す
.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
.B whereis
[
.B \-bmsu
.IX "locate program" "" "locate program \(em \fLwhereis\fP"
.IX command locate "" "locate \(em \fLwhereis\fP"
.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.\"O .B whereis
.\"O locates source/binary and manuals sections for specified
.\"O files.
.B whereis
-¤Ï»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤Î¥½¡¼¥¹¡¦¥Ð¥¤¥Ê¥ê¡¦man ¥Ú¡¼¥¸¥»¥¯¥·¥ç¥ó¤Î¾ì½ê¤ò¼¨¤¹¡£
+は指定したファイルのソース・バイナリ・man ページセクションの場所を示す。
.\"O The supplied names are first stripped of leading pathname components
.\"O and any (single) trailing extension of the form
.\"O .BI . ext,
.\"O for example,
.\"O .BR .c .
-Í¿¤¨¤é¤ì¤¿Ì¾Á°¤Ï¡¢ºÇ½é¤Ë»Ï¤á¤Î¥Ñ¥¹Ì¾¤ÎÉôʬ¤¬¼è¤ê½ü¤«¤ì¡¢¼¡¤Ë
+与えられた名前は、最初に始めのパス名の部分が取り除かれ、次に
.BR .c
-¤Î¤è¤¦¤Ê
+のような
.BI . ext
-¤È¤¤¤¦·Á¼°¤Î³ÈÄ¥»Ò¤¬¼è¤ê½ü¤«¤ì¤ë¡£
+という形式の拡張子が取り除かれる。
.\"O Prefixes of
.\"O .B s.
.\"O resulting from use of source code control are also dealt with.
-¥½¡¼¥¹¥³¡¼¥É´ÉÍý¤Ë»È¤ï¤ì¤Æ¤¤¤ë
+ソースコード管理に使われている
.B s.
-¤È¤¤¤¦¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤¬¤Ä¤¤¤¿¥Õ¥¡¥¤¥ë¤âɽ¼¨¤µ¤ì¤ë¡£
+というプレフィックスがついたファイルも表示される。
.\"O .B whereis
.\"O then attempts to locate the desired program in
.\"O a list of standard Linux places.
.B whereis
-¤Ï¡¢É¸½àŪ¤Ê Linux ¥Õ¥¡¥¤¥ë³¬ÁØÃæ¤Ç»ØÄꤷ¤¿¥×¥í¥°¥é¥à¤òõ¤¹¡£
+は、標準的な Linux ファイル階層中で指定したプログラムを探す。
.\"O .SH OPTIONS
-.SH ¥ª¥×¥·¥ç¥ó
+.SH オプション
.TP
\fB\-b
.\"O Search only for binaries.
-¥Ð¥¤¥Ê¥ê¤Î¤ß¤òõ¤¹¡£
+バイナリのみを探す。
.TP
.B \-m
.\"O Search only for manual sections.
-man ¥Ú¡¼¥¸¥»¥¯¥·¥ç¥ó¤Î¤ß¤òõ¤¹¡£
+man ページセクションのみを探す。
.TP
.B \-s
.\"O Search only for sources.
-¥½¡¼¥¹¤Î¤ß¤òõ¤¹¡£
+ソースのみを探す。
.TP
.B \-u
.\"O Search for unusual entries. A file is said to be unusual if it does
.\"O .RB ` "whereis\ \ \-m\ \ \-u\ \ *" '
.\"O asks for those files in the current
.\"O directory which have no documentation.
-Ä̾ï¤È¤Ï°Û¤Ê¤ë¥¨¥ó¥È¥ê¤òõ¤¹¡£
-Í׵ᤵ¤ì¤ë¥¿¥¤¥×¤Î 1 ¤Ä¤Î¥¨¥ó¥È¥ê¤¬¥Õ¥¡¥¤¥ë¤Ë¤Ê¤¤¾ì¹ç¡¢
-Ä̾ï¤È¤Ï°Û¤Ê¤ë¥Õ¥¡¥¤¥ë¤È¸Æ¤Ð¤ì¤ë¡£
-¤è¤Ã¤Æ¡¢
+通常とは異なるエントリを探す。
+要求されるタイプの 1 つのエントリがファイルにない場合、
+通常とは異なるファイルと呼ばれる。
+よって、
.RB ` "whereis\ \ \-m\ \ \-u\ \ *" '
-¤Ï¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Õ¥¡¥¤¥ë¤«¤é man ¥Ú¡¼¥¸¤¬¤Ê¤¤¤â¤Î¤òõ¤¹¡£
+は、カレントディレクトリのファイルから man ページがないものを探す。
.TP
.B \-B
.\"O Change or otherwise limit the places where
.\"O .B whereis
.\"O searches for binaries.
.B whereis
-¤¬¥Ð¥¤¥Ê¥ê¤òõ¤¹¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤Þ¤¿¤ÏÀ©¸Â¤¹¤ë¡£
+がバイナリを探すディレクトリを変更または制限する。
.TP
.B \-M
.\"O Change or otherwise limit the places where
.\"O searches for
.\"O manual sections.
.B whereis
-¤¬ man ¥Ú¡¼¥¸¥»¥¯¥·¥ç¥ó¤òõ¤¹¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤Þ¤¿¤ÏÀ©¸Â¤¹¤ë¡£
+が man ページセクションを探すディレクトリを変更または制限する。
.TP
.B \-S
.\"O Change or otherwise limit the places where
.\"O .B whereis
.\"O searches for sources.
.B whereis
-¤¬¥½¡¼¥¹¤òõ¤¹¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤Þ¤¿¤ÏÀ©¸Â¤¹¤ë¡£
+がソースを探すディレクトリを変更または制限する。
.TP
.B \-f
.\"O Terminate the last directory list and signals the start of file names,
.\"O or
.\"O .B \-S
.\"O options are used.
-ľÁ°¤Î¥Ç¥£¥ì¥¯¥È¥ê¥ê¥¹¥È¤ò½ªÎ»¤µ¤»¡¢
-¥Õ¥¡¥¤¥ë̾»ØÄê¤Î³«»Ï¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¡£
+直前のディレクトリリストを終了させ、
+ファイル名指定の開始であることを示す。
.BR \-B ,
.BR \-M ,
.B \-S
-¥ª¥×¥·¥ç¥ó¤Î¤¤¤º¤ì¤«¤ò»È¤¦¾ì¹ç¤Ï¡¢
-¤³¤Î¥ª¥×¥·¥ç¥ó¤ò
-.IR »È¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ ¡£
+オプションのいずれかを使う場合は、
+このオプションを
+.IR 使わなければならない 。
.\"O .SH EXAMPLE
-.SH Îã
+.SH 例
.\"O Find all files in
.\"O .B /usr/bin
.\"O which are not documented
.\"O with source in
.\"O .BR /usr/src :
.B /usr/bin
-¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤«¤é
+にあるファイルから
.B /usr/man/man1
-¤Ë man ¥Ú¡¼¥¸¤¬¤Ê¤¯
+に man ページがなく
.BR /usr/src
-¤Ë¥½¡¼¥¹¤¬¤¢¤ë¤è¤¦¤Ê¤â¤Îõ¤¹¡£
+にソースがあるようなもの探す。
.IP
.nf
.ft B
.fi
.ft R
.\"O .SH FILES
-.SH ¥Õ¥¡¥¤¥ë
+.SH ファイル
.TP 20
.B /{bin,sbin,etc}
.TP
.TP
.B /usr/local/{X386,TeX,X11,include,lib,man,etc,bin,games,emacs}
.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
.BR chdir (2V)
.\"O .SH BUGS
-.SH ¥Ð¥°
+.SH ã\83\90ã\82°
.\"O Since
.\"O .B whereis
.\"O uses
.\"O must be full; that is, they must begin with a
.\"O .RB ` / '.
.B whereis
-¤Ï¼Â¹Ô¤ò®¤¯¤¹¤ë¤¿¤á¤Ë
+は実行を速くするために
.BR chdir (2V)
-¤ò»È¤¦¤Î¤Ç¡¢
+を使うので、
.BR \-M ,
.BR \-S ,
.B \-B
-¤Ë»ØÄꤹ¤ë¥Ñ¥¹Ì¾¤Ï¥Õ¥ë¥Ñ¥¹¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤;
-¤Ä¤Þ¤ê¥Ñ¥¹Ì¾¤Ï
+に指定するパス名はフルパスでなければならない;
+つまりパス名は
.RB ` / '
-¤Ç»Ï¤Þ¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
+で始まっていなければならない。
.PP
.\"O .B whereis
.\"O has a hard-coded path, so may not always find what
.\"O you're looking for.
.B whereis
-¤Ï¥Ï¡¼¥É¥³¡¼¥É¤µ¤ì¤¿¥Ñ¥¹¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
-õ¤·¤Æ¤¤¤ë¤â¤Î¤È¤Ï°ã¤¦¤â¤Î¤¬¸«¤Ä¤«¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
+はハードコードされたパスを持っているので、
+探しているものとは違うものが見つかるかもしれない。