From: cyoichi Date: Sun, 2 Jul 2023 01:51:11 +0000 (+0900) Subject: info/GNU_which: Cleaning of GNU_which's info directory. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=65e730290d1c110c8d000786ab1af8e9985f045e;p=linuxjm%2Fjm.git info/GNU_which: Cleaning of GNU_which's info directory. We only need texi and info files in draft or release directories. deleted: GNU_which/Makefile deleted: GNU_which/draft/html/Fan-riZhi-.html deleted: GNU_which/draft/html/Guan-Lian-Xiang-Mu-.html deleted: GNU_which/draft/html/Li.html deleted: GNU_which/draft/html/bagu.html deleted: GNU_which/draft/html/index.html deleted: GNU_which/draft/html/opusiyonnoGai-Yao-.html deleted: GNU_which/draft/html/sakuin.html deleted: GNU_which/draft/html/which-noQi-Dong-.html deleted: GNU_which/draft/html/which-puroguramu.html deleted: GNU_which/draft/info/which.info deleted: GNU_which/draft/pdf/which.pdf deleted: GNU_which/draft/texi/version.texi deleted: GNU_which/draft/texi/which.texi deleted: GNU_which/draft/text/which.txt deleted: GNU_which/original/texi/version.texi deleted: GNU_which/original/texi/which.texi deleted: GNU_which/po4a/texi/adddocumentlanguage.txt deleted: GNU_which/po4a/texi/ja.po deleted: GNU_which/po4a/texi/which-texi.cfg deleted: GNU_which/po4a/texi/which-texi.pot --- diff --git a/info/GNU_which/Makefile b/info/GNU_which/Makefile deleted file mode 100644 index 4fef25a3..00000000 --- a/info/GNU_which/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -PACKAGE_NAME = which -FULL_PACKAGE_NAME = GNU which -PACKAGE_VERSION = 2.21 - -texi_source_main = \ - $(PACKAGE_NAME).texi -texi_source_others = \ - version.texi - -THRESH = 0 -EXTFLAGS = -LANGS = ja -PO4ACFG = po4a/texi/$(PACKAGE_NAME)-texi.cfg -PO4AFLAGS += -M UTF-8 -k $(THRESH) $(EXTFLAGS) -WORK_DIR = . - -include ../build-aux/po4a-texi.mk diff --git a/info/GNU_which/draft/html/Fan-riZhi-.html b/info/GNU_which/draft/html/Fan-riZhi-.html deleted file mode 100644 index 65738f0c..00000000 --- a/info/GNU_which/draft/html/Fan-riZhi-.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - -返り値 (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -
- -
-

4 返り値

- - -

which は、処理に失敗した引数の数を返します。また programname が指定されなかった場合は -1 -を返します。 -

-
- - - - - diff --git a/info/GNU_which/draft/html/Guan-Lian-Xiang-Mu-.html b/info/GNU_which/draft/html/Guan-Lian-Xiang-Mu-.html deleted file mode 100644 index e0655435..00000000 --- a/info/GNU_which/draft/html/Guan-Lian-Xiang-Mu-.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - -関連項目 (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -
- -
-

7 関連項目

- -

bash(1) -

-
- - - - - diff --git a/info/GNU_which/draft/html/Li.html b/info/GNU_which/draft/html/Li.html deleted file mode 100644 index d568c63e..00000000 --- a/info/GNU_which/draft/html/Li.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - -例 (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -
- -
-

5 例

- - - -

本ユーティリティーを利用するには、which に対して、エイリアスを追加する (C シェルの場合) 、あるいはシェル関数を追加する -(Bourne シェル) 方法が推奨されます。たとえば以下のようにします。 -

-

[ba]sh: -

-
-
which ()
-{
-  (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@
-}
-export -f which
-
- -

[t]csh: -

-
-
alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
-
- -

この方法にすると、端末から起動した際には、わかりやすく ~/ や ./ を表示します。一方でスクリプトから実行した際には、フルパスを表示します。 -

-
-
> which q2
-~/bin/q2
-> echo `which q2`
-/home/carlo/bin/q2
-
- -
- - - - - diff --git a/info/GNU_which/draft/html/bagu.html b/info/GNU_which/draft/html/bagu.html deleted file mode 100644 index 5bf321e8..00000000 --- a/info/GNU_which/draft/html/bagu.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - -バグ (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -
- -
-

6 バグ

- - -

HOME ディレクトリは、環境変数 HOME -を調べることで決定されますが、この変数が存在しない場合には、その処理がキャンセルされます。which は 2 -つの同等のディレクトリであっても、その 1 つにシンボリックリンクを使ったパスが含まれている場合に、別のディレクトリと取り扱ってしまいます。 -

-
- - - - - diff --git a/info/GNU_which/draft/html/index.html b/info/GNU_which/draft/html/index.html deleted file mode 100644 index de70666a..00000000 --- a/info/GNU_which/draft/html/index.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - -Top (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -

which: コマンドのフルパス表示

- - - - -
- -
-

which: コマンドのフルパス表示

- - - - -
-
-
-

-Next: , Previous: , Up: (dir)   [Contents][Index]

-
- - - - - diff --git a/info/GNU_which/draft/html/opusiyonnoGai-Yao-.html b/info/GNU_which/draft/html/opusiyonnoGai-Yao-.html deleted file mode 100644 index 2f7c04a8..00000000 --- a/info/GNU_which/draft/html/opusiyonnoGai-Yao-.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -オプションの概要 (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -
- -
-

3 オプションの概要

- - - - -
-
- -
-
--all
-
-a
-

PATH において見つかった実行ファイルをすべて表示します。最初に見つかった一つだけではありません。 -

- - -
-
--read-alias
-
-i
-

標準入力からエイリアスを読み込んで、合致したものを標準出力します。 これは which そのものを含む alias -において、本オプションを合わせて利用すると便利です。 たとえば以下です。
alias which='alias | which -i' -

- -
-
--skip-alias
-

--read-alias が指定されても無視します。which に対するエイリアスや関数の中で ---read-alias オプションを利用している場合であっても、明示的に通常の実行ファイルを検索する場合に利用できます。 -

- -
-
--read-functions
-

標準入力からシェル関数定義を読み込んで、合致したものを標準出力します。これは which -そのものを含むシェル関数において、本オプションを合わせて利用すると便利です。たとえば以下です。
which() { declare --f | which --read-functions $@ }
export -f which
-

- -
-
--skip-functions
-

--read-functions が指定されても無視します。which に対するエイリアスや関数の中で ---read-functions オプションを利用している場合であっても、明示的に通常の実行ファイルを検索する場合に利用できます。 -

- -
-
--skip-dot
-

PATH 内のディレクトリにうち、ドットで始まるディレクトリは除外します。 -

- -
-
--skip-tilde
-

チルダで始まる PATH 内のディレクトリ、および HOME ディレクトリ内に存在する実行ファイルは除外します。 -

- -
-
--show-dot
-

PATH 内にドットで始まるディレクトリがあって、合致した実行ファイルがその中に見つかった場合には、フルパスでなく -"./programname" と表示します。 -

- -
-
--show-tilde
-

ディレクトリが HOME に合致した場合、チルダを表示します。 このオプションは root ユーザーが実行した際には無視されます。 -

- -
-
--tty-only
-

tty 上でない場合、この右側に指定されたオプションの実行を停止します。 -

- - - -
-
--version, -v, -V
-

バージョン情報を標準出力して正常終了します。 -

- -
-
--help
-

利用方法を標準出力して正常終了します。 -

-
-
- -
- - - - - diff --git a/info/GNU_which/draft/html/sakuin.html b/info/GNU_which/draft/html/sakuin.html deleted file mode 100644 index f39b2d35..00000000 --- a/info/GNU_which/draft/html/sakuin.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -さくいん (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - -
- -
-

さくいん

- -
Jump to:   - -   -
-A -   -B -   -C -   -D -   -E -   -O -   -R -   -S -   -W -   -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Index Entry  Section

-
--all: ã‚ªãƒ—ションの概要
--help: ã‚ªãƒ—ションの概要
--read-alias: ã‚ªãƒ—ションの概要
--read-functions: ã‚ªãƒ—ションの概要
--show-dot: ã‚ªãƒ—ションの概要
--show-tilde: ã‚ªãƒ—ションの概要
--skip-alias: ã‚ªãƒ—ションの概要
--skip-dot: ã‚ªãƒ—ションの概要
--skip-functions: ã‚ªãƒ—ションの概要
--skip-tilde: ã‚ªãƒ—ションの概要
--tty-only: ã‚ªãƒ—ションの概要
--version: ã‚ªãƒ—ションの概要
-a: ã‚ªãƒ—ションの概要
-i: ã‚ªãƒ—ションの概要
-v: ã‚ªãƒ—ションの概要
-V: ã‚ªãƒ—ションの概要

A
aliases, handling of: ä¾‹

B
Bugs, known: ãƒã‚°

C
Command line Options: ã‚ªãƒ—ションの概要

D
Description of which: which プログラム

E
Examples: ä¾‹

O
Options, command line: ã‚ªãƒ—ションの概要
Overview of command line options: ã‚ªãƒ—ションの概要

R
Return value of which: è¿”り値

S
Synopsis: which の起動

W
which の実行: which の起動

-
Jump to:   - -   -
-A -   -B -   -C -   -D -   -E -   -O -   -R -   -S -   -W -   -
- -
-
-
-

-Previous: 関連項目, Up: which: コマンドのフルパス表示   [Contents][Index]

-
- - - - - diff --git a/info/GNU_which/draft/html/which-noQi-Dong-.html b/info/GNU_which/draft/html/which-noQi-Dong-.html deleted file mode 100644 index 1595c37e..00000000 --- a/info/GNU_which/draft/html/which-noQi-Dong-.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - -which の起動 (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -
- -
-

2 which の実行

- - - -

which の実行書式は以下のとおりです。 -

-
-
which [options] [--] programname [...]
-
- - -
- - - - - diff --git a/info/GNU_which/draft/html/which-puroguramu.html b/info/GNU_which/draft/html/which-puroguramu.html deleted file mode 100644 index 24ab1736..00000000 --- a/info/GNU_which/draft/html/which-puroguramu.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - -which プログラム (which: コマンドのフルパス表示) - - - - - - - - - - - - - - - - - - - - -
- -
-

1 which プログラム

- - -

which は 1 -つまたは複数の引数を取ります。その引数それぞれに対して、その引数がシェルプロンプトから入力された際に、実行されることになる実行モジュールのフルパスを -stdout に出力します。 これを実現する際には、環境変数 PATH に列記されたディレクトリ内から実行ファイルやスクリプトを検索します。 -これは bash(1) と同じアルゴリズムを用いています。 -

-
- - - - - diff --git a/info/GNU_which/draft/info/which.info b/info/GNU_which/draft/info/which.info deleted file mode 100644 index d74d8514..00000000 Binary files a/info/GNU_which/draft/info/which.info and /dev/null differ diff --git a/info/GNU_which/draft/pdf/which.pdf b/info/GNU_which/draft/pdf/which.pdf deleted file mode 100644 index cec45a6a..00000000 Binary files a/info/GNU_which/draft/pdf/which.pdf and /dev/null differ diff --git a/info/GNU_which/draft/texi/version.texi b/info/GNU_which/draft/texi/version.texi deleted file mode 100644 index efddb3cc..00000000 --- a/info/GNU_which/draft/texi/version.texi +++ /dev/null @@ -1,4 +0,0 @@ -@set UPDATED 20 March 2015 -@set UPDATED-MONTH March 2015 -@set EDITION 2.21 -@set VERSION 2.21 diff --git a/info/GNU_which/draft/texi/which.texi b/info/GNU_which/draft/texi/which.texi deleted file mode 100644 index 72e87292..00000000 --- a/info/GNU_which/draft/texi/which.texi +++ /dev/null @@ -1,278 +0,0 @@ -\input texinfo-ja @c -*-texinfo-*- -@c =========================================================================== -@c -@c This file was generated with po4a. Translate the source file. -@c -@c =========================================================================== - -@c %**start of header -@setfilename which.info -@documentencoding UTF-8 -@documentlanguage ja -@settitle @command{which}: コマンドのフルパス表示 -@include version.texi -@dircategory System administration -@direntry -* Which: (which). コマンドのフルパスを表示 -@end direntry -@c %**end of header - -@setchapternewpage odd - -@ifinfo -@format - -@c !BEGIN INTRO -@c !END INTRO -このファイルは `which' version 2.x@ を説明するものです。 - -@c !BEGIN COPYING -Copyright @copyright{} 2000 - 2015, by - -Carlo Wood, Run on IRC -RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt -Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61 - -Permission is granted to make and distribute verbatim copies of -this manual provided the copyright notice and this permission notice -are preserved on all copies. -@end format - -@ignore -Permission is granted to copy and distribute modified versions of this -manual under the conditions for verbatim copying, provided also that the -section entitled ``GNU General Public License'' is included exactly as -in the original, and provided that the entire resulting derived work is -distributed under the terms of a permission notice identical to this -one. - -Permission is granted to copy and distribute translations of this manual -into another language, under the above conditions for modified versions, -except that the section entitled ``GNU General Public License'' may be -included in a translation approved by the author instead of in the -original English. -@end ignore -@c !END COPYING -@end ifinfo - -@titlepage -@title Which -@subtitle コマンドのフルパス表示 -@sp 1 -@subtitle 編集版 @value{EDITION}, Which バージョン @value{VERSION} -@subtitle @value{UPDATED} -@c !BEGIN AUTHORS -@author Carlo Wood <@email{carlo@@gnu.org}> -@c !END AUTHORS -@page -@vskip 0pt plus 1filll -Copyright @copyright{} 2000 - 2015, by - -Carlo Wood, Run on IRC RSA-1024 0x624ACAD5 1997-01-26 -Sign & Encrypt Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF -61 - -@end titlepage - -@ifnottex -@node Top, which プログラム, (dir), (dir) -@top @command{which}: コマンドのフルパス表示 -@end ifnottex - -@ifinfo -@c !BEGIN NAME -@c !END NAME -@command{which} プログラムは(シェル)コマンドのフルパスを表示します。 - -@noindent -This file documents @command{which} version @value{VERSION}, updated -@value{UPDATED}. -@end ifinfo - -@menu -* which プログラム:: @command{which} プログラム -* which の起動:: @command{which} の起動方法 -* オプションの概要:: コマンドラインオプションの概要 -* 返り値:: @command{which} が返す値 -* 例:: コマンドの実行例 -* バグ:: 既知のバグ -* 関連項目:: 関連する UNIX コマンド -* さくいん:: さくいん -@end menu - -@node which プログラム, which の起動, Top, Top -@chapter @command{which} プログラム -@cindex Description of @command{which} - -@c !BEGIN DESCRIPTION -@c !END DESCRIPTION -@command{which} は 1 -つまたは複数の引数を取ります。その引数それぞれに対して、その引数がシェルプロンプトから入力された際に、実行されることになる実行モジュールのフルパスを -stdout に出力します。 これを実現する際には、環境変数 @env{PATH} に列記されたディレクトリ内から実行ファイルやスクリプトを検索します。 -これは @command{bash(1)} と同じアルゴリズムを用いています。 - -@node which の起動, オプションの概要, which プログラム, Top -@chapter @command{which} の実行 -@cindex @command{which} の実行 -@cindex Synopsis - -@noindent -@command{which} の実行書式は以下のとおりです。 - -@c !BEGIN SYNOPSIS -@example -which [options] [--] programname [...] -@end example -@c !END SYNOPSIS - -@menu -* オプションの概要:: オプション概要 -@end menu - -@node オプションの概要, 返り値, which の起動, Top -@chapter オプションの概要 -@cindex Options, command line -@cindex Command line Options -@cindex Overview of command line options - -@c !BEGIN OPTIONS -@table @samp -@cindex @option{--all} -@cindex @option{-a} -@item --all -@itemx -a -@env{PATH} において見つかった実行ファイルをすべて表示します。最初に見つかった一つだけではありません。 - -@cindex @option{--read-alias} -@cindex @option{-i} -@item --read-alias -@itemx -i -標準入力からエイリアスを読み込んで、合致したものを標準出力します。 これは which そのものを含む alias -において、本オプションを合わせて利用すると便利です。 たとえば以下です。@* @code{alias which='alias | which -i'} - -@cindex @option{--skip-alias} -@item --skip-alias -@option{--read-alias} が指定されても無視します。which に対するエイリアスや関数の中で -@option{--read-alias} オプションを利用している場合であっても、明示的に通常の実行ファイルを検索する場合に利用できます。 - -@cindex @option{--read-functions} -@item --read-functions -標準入力からシェル関数定義を読み込んで、合致したものを標準出力します。これは which -そのものを含むシェル関数において、本オプションを合わせて利用すると便利です。たとえば以下です。@* @code{which() @{ declare --f | which --read-functions $@@ @}@*export -f which} - -@cindex @option{--skip-functions} -@item --skip-functions -@option{--read-functions} が指定されても無視します。which に対するエイリアスや関数の中で -@option{--read-functions} オプションを利用している場合であっても、明示的に通常の実行ファイルを検索する場合に利用できます。 - -@cindex @option{--skip-dot} -@item --skip-dot -@env{PATH} 内のディレクトリにうち、ドットで始まるディレクトリは除外します。 - -@cindex @option{--skip-tilde} -@item --skip-tilde -チルダで始まる @env{PATH} 内のディレクトリ、および @env{HOME} ディレクトリ内に存在する実行ファイルは除外します。 - -@cindex @option{--show-dot} -@item --show-dot -@env{PATH} 内にドットで始まるディレクトリがあって、合致した実行ファイルがその中に見つかった場合には、フルパスでなく -"./programname" と表示します。 - -@cindex @option{--show-tilde} -@item --show-tilde -ディレクトリが @env{HOME} に合致した場合、チルダを表示します。 このオプションは root ユーザーが実行した際には無視されます。 - -@cindex @option{--tty-only} -@item --tty-only -tty 上でない場合、この右側に指定されたオプションの実行を停止します。 - -@cindex @option{--version} -@cindex @option{-v} -@cindex @option{-V} -@item --version, -v, -V -バージョン情報を標準出力して正常終了します。 - -@cindex @option{--help} -@item --help -利用方法を標準出力して正常終了します。 - -@end table -@c !END OPTIONS - -@node 返り値, 例, オプションの概要, Top -@chapter 返り値 -@cindex Return value of @command{which} - -@c !BEGIN RETURNVALUE -@c !END RETURNVALUE -@command{which} は、処理に失敗した引数の数を返します。また @file{programname} が指定されなかった場合は -1 -を返します。 - -@node 例, バグ, 返り値, Top -@chapter 例 -@cindex Examples -@cindex aliases, handling of - -@c !BEGIN EXAMPLE -本ユーティリティーを利用するには、@command{which} に対して、エイリアスを追加する (C シェルの場合) 、あるいはシェル関数を追加する -(Bourne シェル) 方法が推奨されます。たとえば以下のようにします。 - -[ba]sh: - -@example -@group -which () -@{ - (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@@ -@} -export -f which -@end group -@end example - -[t]csh: - -@example -@group -alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' -@end group -@end example - -@noindent -この方法にすると、端末から起動した際には、わかりやすく ~/ や ./ を表示します。一方でスクリプトから実行した際には、フルパスを表示します。 - -@example -@group -> which q2 -~/bin/q2 -> echo `which q2` -/home/carlo/bin/q2 -@end group -@end example -@c !END EXAMPLE - -@node バグ, 関連項目, 例, Top -@chapter バグ -@cindex Bugs, known - -@c !BEGIN BUGS -@c !END BUGS -@env{HOME} ディレクトリは、環境変数 @env{HOME} -を調べることで決定されますが、この変数が存在しない場合には、その処理がキャンセルされます。@command{which} は 2 -つの同等のディレクトリであっても、その 1 つにシンボリックリンクを使ったパスが含まれている場合に、別のディレクトリと取り扱ってしまいます。 - -@node 関連項目, さくいん, バグ, Top -@chapter 関連項目 - -@c !BEGIN SEEALSO -@c !END SEEALSO -@command{bash(1)} - -@node さくいん, , 関連項目, Top -@comment node-name, next, previous, up -@unnumbered さくいん - -@printindex cp - -@contents -@bye diff --git a/info/GNU_which/draft/text/which.txt b/info/GNU_which/draft/text/which.txt deleted file mode 100644 index e71e6d74..00000000 --- a/info/GNU_which/draft/text/which.txt +++ /dev/null @@ -1,182 +0,0 @@ - -このファイルは ‘which’ version 2.x を説明するものです。 - -Copyright © 2000 - 2015, by - -Carlo Wood, Run on IRC -RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt -Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61 - -Permission is granted to make and distribute verbatim copies of -this manual provided the copyright notice and this permission notice -are preserved on all copies. - -‘which’: コマンドのフルパス表示 -******************************* - -‘which’ プログラムは(シェル)コマンドのフルパスを表示します。 - -This file documents ‘which’ version 2.21, updated 20 March 2015. - -1 ‘which’ プログラム -******************** - -‘which’ は 1 つまたは複数の引数を取ります。その引数それぞれに対して、そ -の引数がシェルプロンプトから入力された際に、実行されることになる実行モジ -ュールのフルパスを stdout に出力します。 これを実現する際には、環境変数 -‘PATH’ に列記されたディレクトリ内から実行ファイルやスクリプトを検索しま -す。 これは ‘bash(1)’ と同じアルゴリズムを用いています。 - -2 ‘which’ の実行 -**************** - -‘which’ の実行書式は以下のとおりです。 - - which [options] [--] programname [...] - -3 オプションの概要 -****************** - -‘--all’ -‘-a’ - ‘PATH’ において見つかった実行ファイルをすべて表示します。最初に見つ - かった一つだけではありません。 - -‘--read-alias’ -‘-i’ - 標準入力からエイリアスを読み込んで、合致したものを標準出力します。 - これは which そのものを含む alias において、本オプションを合わせて - 利用すると便利です。 たとえば以下です。 - ‘alias which='alias | which -i'’ - -‘--skip-alias’ - ‘--read-alias’ が指定されても無視します。which に対するエイリアスや - 関数の中で ‘--read-alias’ オプションを利用している場合であっても、 - 明示的に通常の実行ファイルを検索する場合に利用できます。 - -‘--read-functions’ - 標準入力からシェル関数定義を読み込んで、合致したものを標準出力しま - す。これは which そのものを含むシェル関数において、本オプションを合 - わせて利用すると便利です。たとえば以下です。 - ‘which() { declare -f | which --read-functions $@ } - export -f which’ - -‘--skip-functions’ - ‘--read-functions’ が指定されても無視します。which に対するエイリア - スや関数の中で ‘--read-functions’ オプションを利用している場合であ - っても、明示的に通常の実行ファイルを検索する場合に利用できます。 - -‘--skip-dot’ - ‘PATH’ 内のディレクトリにうち、ドットで始まるディレクトリは除外しま - す。 - -‘--skip-tilde’ - チルダで始まる ‘PATH’ 内のディレクトリ、および ‘HOME’ ディレクトリ - 内に存在する実行ファイルは除外します。 - -‘--show-dot’ - ‘PATH’ 内にドットで始まるディレクトリがあって、合致した実行ファイル - がその中に見つかった場合には、フルパスでなく "./programname" と表示 - します。 - -‘--show-tilde’ - ディレクトリが ‘HOME’ に合致した場合、チルダを表示します。 このオプ - ションは root ユーザーが実行した際には無視されます。 - -‘--tty-only’ - tty 上でない場合、この右側に指定されたオプションの実行を停止します - 。 - -‘--version, -v, -V’ - バージョン情報を標準出力して正常終了します。 - -‘--help’ - 利用方法を標準出力して正常終了します。 - -4 返り値 -******** - -‘which’ は、処理に失敗した引数の数を返します。また ‘programname’ が指定 -されなかった場合は -1 を返します。 - -5 例 -**** - -本ユーティリティーを利用するには、‘which’ に対して、エイリアスを追加する -(C シェルの場合) 、あるいはシェル関数を追加する (Bourne シェル) 方法が推 -奨されます。たとえば以下のようにします。 - - [ba]sh: - - which () - { - (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ - } - export -f which - - [t]csh: - - alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' - -この方法にすると、端末から起動した際には、わかりやすく ~/ や ./ を表示し -ます。一方でスクリプトから実行した際には、フルパスを表示します。 - - > which q2 - ~/bin/q2 - > echo `which q2` - /home/carlo/bin/q2 - -6 バグ -****** - -‘HOME’ ディレクトリは、環境変数 ‘HOME’ を調べることで決定されますが、こ -の変数が存在しない場合には、その処理がキャンセルされます。‘which’ は 2 つ -の同等のディレクトリであっても、その 1 つにシンボリックリンクを使ったパ -スが含まれている場合に、別のディレクトリと取り扱ってしまいます。 - -7 関連項目 -********** - -‘bash(1)’ - -さくいん -******** - -* Menu: - -* --all: オプションの概要. (line 39) -* --help: オプションの概要. (line 92) -* --read-alias: オプションの概要. (line 44) -* --read-functions: オプションの概要. (line 56) -* --show-dot: オプションの概要. (line 76) -* --show-tilde: オプションの概要. (line 81) -* --skip-alias: オプションの概要. (line 51) -* --skip-dot: オプションの概要. (line 68) -* --skip-functions: オプションの概要. (line 63) -* --skip-tilde: オプションの概要. (line 72) -* --tty-only: オプションの概要. (line 85) -* --version: オプションの概要. (line 89) -* -a: オプションの概要. (line 39) -* -i: オプションの概要. (line 44) -* -v: オプションの概要. (line 89) -* -V: オプションの概要. (line 89) -* aliases, handling of: 例. (line 104) -* Bugs, known: バグ. (line 131) -* Command line Options: オプションの概要. (line 39) -* Description of which: which プログラム. (line 23) -* Examples: 例. (line 104) -* Options, command line: オプションの概要. (line 39) -* Overview of command line options: オプションの概要. (line 39) -* Return value of which: 返り値. (line 98) -* Synopsis: which の起動. (line 32) -* which の実行: which の起動. (line 32) - -‘which’: コマンドのフルパス表示 -1 ‘which’ プログラム -2 ‘which’ の実行 -3 オプションの概要 -4 返り値 -5 例 -6 バグ -7 関連項目 -さくいん diff --git a/info/GNU_which/original/texi/version.texi b/info/GNU_which/original/texi/version.texi deleted file mode 100644 index efddb3cc..00000000 --- a/info/GNU_which/original/texi/version.texi +++ /dev/null @@ -1,4 +0,0 @@ -@set UPDATED 20 March 2015 -@set UPDATED-MONTH March 2015 -@set EDITION 2.21 -@set VERSION 2.21 diff --git a/info/GNU_which/original/texi/which.texi b/info/GNU_which/original/texi/which.texi deleted file mode 100644 index 5c622149..00000000 --- a/info/GNU_which/original/texi/which.texi +++ /dev/null @@ -1,287 +0,0 @@ -\input texinfo @c -*-texinfo-*- -@c %**start of header -@setfilename which.info -@settitle @command{which}: show full path of commands -@include version.texi -@dircategory System administration -@direntry -* Which: (which). Show full path of commands. -@end direntry -@c %**end of header - -@setchapternewpage odd - -@ifinfo -@format - -@c !BEGIN INTRO -This file documents `which' version 2.x@. -@c !END INTRO - -@c !BEGIN COPYING -Copyright @copyright{} 2000 - 2015, by - -Carlo Wood, Run on IRC -RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt -Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61 - -Permission is granted to make and distribute verbatim copies of -this manual provided the copyright notice and this permission notice -are preserved on all copies. -@end format - -@ignore -Permission is granted to copy and distribute modified versions of this -manual under the conditions for verbatim copying, provided also that the -section entitled ``GNU General Public License'' is included exactly as -in the original, and provided that the entire resulting derived work is -distributed under the terms of a permission notice identical to this -one. - -Permission is granted to copy and distribute translations of this manual -into another language, under the above conditions for modified versions, -except that the section entitled ``GNU General Public License'' may be -included in a translation approved by the author instead of in the -original English. -@end ignore -@c !END COPYING -@end ifinfo - -@titlepage -@title Which -@subtitle Show the full path of commands -@sp 1 -@subtitle Edition @value{EDITION}, for Which Version @value{VERSION} -@subtitle @value{UPDATED} -@c !BEGIN AUTHORS -@author Carlo Wood <@email{carlo@@gnu.org}> -@c !END AUTHORS -@page -@vskip 0pt plus 1filll -Copyright @copyright{} 2000 - 2015, by - -Carlo Wood, Run on IRC -RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt -Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61 - -@end titlepage - -@ifnottex -@node Top, Which Program, (dir), (dir) -@top @command{which}: Show the full path of commands -@end ifnottex - -@ifinfo -The @command{which} program -@c !BEGIN NAME -shows the full path of (shell) commands. -@c !END NAME - -@noindent -This file documents @command{which} version @value{VERSION}, updated @value{UPDATED}. -@end ifinfo - -@menu -* Which Program:: The @command{which} Program -* Invoking Which:: How to invoke @command{which} -* Option Summary:: Overview of commandline options -* Return Value:: The return value of @command{which} -* Example:: Examples of invokation -* Bugs:: Known bugs -* See Also:: Related UNIX commands -* Index:: Index -@end menu - -@node Which Program, Invoking Which, Top, Top -@chapter The @command{which} Program -@cindex Description of @command{which} - -@c !BEGIN DESCRIPTION -@command{Which} takes one or more arguments. For each of its arguments -it prints to stdout the full path of the executables -that would have been executed when this argument had been -entered at the shell prompt. It does this by searching -for an executable or script in the directories listed in -the environment variable @env{PATH} using the same algorithm as @command{bash(1)}. -@c !END DESCRIPTION - -@node Invoking Which, Option Summary, Which Program, Top -@chapter Invoking @command{which} -@cindex Invoking @command{which} -@cindex Synopsis - -@noindent -The synopsis to invoke @command{which} is - -@c !BEGIN SYNOPSIS -@example -which [options] [--] programname [...] -@end example -@c !END SYNOPSIS - -@menu -* Option Summary:: Option summary -@end menu - -@node Option Summary, Return Value, Invoking Which, Top -@chapter Option Summary -@cindex Options, command line -@cindex Command line Options -@cindex Overview of command line options - -@c !BEGIN OPTIONS -@table @samp -@cindex @option{--all} -@cindex @option{-a} -@item --all -@itemx -a -Print all matching executables in @env{PATH}, not just the first. - -@cindex @option{--read-alias} -@cindex @option{-i} -@item --read-alias -@itemx -i -Read aliases from stdin, reporting matching ones on -stdout. This is useful in combination with using an -alias for which itself. For example@* -@code{alias which='alias | which -i'}. - -@cindex @option{--skip-alias} -@item --skip-alias -Ignore option @option{--read-alias}, if any. This is useful to -explicity search for normal binaries, while using -the @option{--read-alias} option in an alias or function for which. - -@cindex @option{--read-functions} -@item --read-functions -Read shell function definitions from stdin, reporting matching -ones on stdout. This is useful in combination with using a shell -function for which itself. For example:@* -@code{which() @{ declare -f | which --read-functions $@@ @}@*export -f which} - -@cindex @option{--skip-functions} -@item --skip-functions -Ignore option @option{--read-functions}, if any. This is useful to -explicity search for normal binaries, while using -the @option{--read-functions} option in an alias or function for which. - -@cindex @option{--skip-dot} -@item --skip-dot -Skip directories in @env{PATH} that start with a dot. - -@cindex @option{--skip-tilde} -@item --skip-tilde -Skip directories in @env{PATH} that start with a tilde and -executables which reside in the @env{HOME} directory. - -@cindex @option{--show-dot} -@item --show-dot -If a directory in @env{PATH} starts with a dot and a matching -executable was found for that path, then print -"./programname" rather than the full path. - -@cindex @option{--show-tilde} -@item --show-tilde -Output a tilde when a directory matches the @env{HOME} -directory. This option is ignored when which is -invoked as root. - -@cindex @option{--tty-only} -@item --tty-only -Stop processing options on the right if not on tty. - -@cindex @option{--version} -@cindex @option{-v} -@cindex @option{-V} -@item --version, -v, -V -Print version information on standard output then exit -successfully. - -@cindex @option{--help} -@item --help -Print usage information on standard output then exit -successfully. - -@end table -@c !END OPTIONS - -@node Return Value, Example, Option Summary, Top -@chapter Return Value -@cindex Return value of @command{which} - -@c !BEGIN RETURNVALUE -@command{Which} returns the number of failed arguments, or -1 when -no @file{programname} was given. -@c !END RETURNVALUE - -@node Example, Bugs, Return Value, Top -@chapter Example -@cindex Examples -@cindex aliases, handling of - -@c !BEGIN EXAMPLE -The recommended way to use this utility is by adding an alias (C shell) -or shell function (Bourne shell) for @command{which} like the following: - -[ba]sh: - -@example -@group -which () -@{ - (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@@ -@} -export -f which -@end group -@end example - -[t]csh: - -@example -@group -alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' -@end group -@end example - -@noindent -This will print the readable ~/ and ./ when starting which -from your prompt, while still printing the full path when -used from a script: - -@example -@group -> which q2 -~/bin/q2 -> echo `which q2` -/home/carlo/bin/q2 -@end group -@end example -@c !END EXAMPLE - -@node Bugs, See Also, Example, Top -@chapter Bugs -@cindex Bugs, known - -@c !BEGIN BUGS -The @env{HOME} directory is determined by looking for the @env{HOME} -environment variable, which aborts when this variable -doesn't exist. @command{Which} will consider two equivalent directories -to be different when one of them contains a path -with a symbolic link. -@c !END BUGS - -@node See Also, Index, Bugs, Top -@chapter See Also - -@c !BEGIN SEEALSO -@command{bash(1)} -@c !END SEEALSO - -@node Index, , See Also, Top -@comment node-name, next, previous, up -@unnumbered Index - -@printindex cp - -@contents -@bye diff --git a/info/GNU_which/po4a/texi/adddocumentlanguage.txt b/info/GNU_which/po4a/texi/adddocumentlanguage.txt deleted file mode 100644 index ba9d2fa1..00000000 --- a/info/GNU_which/po4a/texi/adddocumentlanguage.txt +++ /dev/null @@ -1,3 +0,0 @@ -PO4A-HEADER: mode=before; position=^@settitle -@documentencoding UTF-8 -@documentlanguage ja diff --git a/info/GNU_which/po4a/texi/ja.po b/info/GNU_which/po4a/texi/ja.po deleted file mode 100644 index e5e93acf..00000000 --- a/info/GNU_which/po4a/texi/ja.po +++ /dev/null @@ -1,694 +0,0 @@ -# Japanese translations for GNU which package -# -# Japanese Version Copyright (c) 2021 Linux JM project -# all rights reserved. -# -msgid "" -msgstr "" -"Project-Id-Version: GNU which 2.21\n" -"POT-Creation-Date: 2021-07-12 13:00+0900\n" -"PO-Revision-Date: 2021-07-12 21:31+0900\n" -"Last-Translator: michio_matsuyama@yahoo.co.jp\n" -"Language-Team: Linux JM project \n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. type: settitle -#: original/texi/which.texi:4 -#, no-wrap -msgid "@command{which}: show full path of commands" -msgstr "@command{which}: コマンドのフルパス表示" - -#. type: include -#: original/texi/which.texi:5 -#, no-wrap -msgid "version.texi" -msgstr "version.texi" - -#. type: dircategory -#: original/texi/which.texi:6 -#, no-wrap -msgid "System administration" -msgstr "System administration" - -#. type: menuentry -#: original/texi/which.texi:9 -msgid "Which: (which)" -msgstr "Which: (which)" - -#. type: menuentry -#: original/texi/which.texi:9 -msgid "Show full path of commands." -msgstr "コマンドのフルパスを表示" - -#. type: format -#: original/texi/which.texi:20 -#, no-wrap -msgid "" -"This file documents `which' version 2.x@.\n" -"\n" -msgstr "" -"このファイルは `which' version 2.x@ を説明するものです。\n" -"\n" - -#. type: format -#: original/texi/which.texi:23 -#, no-wrap -msgid "" -"Copyright @copyright{} 2000 - 2015, by\n" -"\n" -msgstr "" -"Copyright @copyright{} 2000 - 2015, by\n" -"\n" - -#. type: format -#: original/texi/which.texi:27 -#, no-wrap -msgid "" -"Carlo Wood, Run on IRC \n" -"RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt\n" -"Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61\n" -"\n" -msgstr "" -"Carlo Wood, Run on IRC \n" -"RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt\n" -"Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61\n" -"\n" - -#. type: format -#: original/texi/which.texi:31 -#, no-wrap -msgid "" -"Permission is granted to make and distribute verbatim copies of\n" -"this manual provided the copyright notice and this permission notice\n" -"are preserved on all copies.\n" -msgstr "" -"Permission is granted to make and distribute verbatim copies of\n" -"this manual provided the copyright notice and this permission notice\n" -"are preserved on all copies.\n" - -#. type: title -#: original/texi/which.texi:51 -#, no-wrap -msgid "Which" -msgstr "Which" - -#. type: subtitle -#: original/texi/which.texi:52 -#, no-wrap -msgid "Show the full path of commands" -msgstr "コマンドのフルパス表示" - -#. type: subtitle -#: original/texi/which.texi:54 -#, no-wrap -msgid "Edition @value{EDITION}, for Which Version @value{VERSION}" -msgstr "編集版 @value{EDITION}, Which バージョン @value{VERSION}" - -#. type: subtitle -#: original/texi/which.texi:55 -#, no-wrap -msgid "@value{UPDATED}" -msgstr "@value{UPDATED}" - -#. type: author -#: original/texi/which.texi:57 -#, no-wrap -msgid "Carlo Wood <@email{carlo@@gnu.org}>" -msgstr "Carlo Wood <@email{carlo@@gnu.org}>" - -#. type: titlepage -#: original/texi/which.texi:62 -msgid "Copyright @copyright{} 2000 - 2015, by" -msgstr "Copyright @copyright{} 2000 - 2015, by" - -#. type: titlepage -#: original/texi/which.texi:66 -msgid "" -"Carlo Wood, Run on IRC RSA-1024 0x624ACAD5 1997-01-26 " -"Sign & Encrypt Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF " -"61" -msgstr "" -"Carlo Wood, Run on IRC RSA-1024 0x624ACAD5 1997-01-26 " -"Sign & Encrypt Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF " -"61" - -#. type: node -#: original/texi/which.texi:70 -#: original/texi/which.texi:95 -#: original/texi/which.texi:108 -#: original/texi/which.texi:126 -#: original/texi/which.texi:208 -#: original/texi/which.texi:217 -#: original/texi/which.texi:261 -#: original/texi/which.texi:273 -#: original/texi/which.texi:280 -#, no-wrap -msgid "Top" -msgstr "Top" - -#. type: node -#: original/texi/which.texi:70 -#: original/texi/which.texi:93 -#: original/texi/which.texi:95 -#: original/texi/which.texi:108 -#, no-wrap -msgid "Which Program" -msgstr "which プログラム" - -#. type: node -#: original/texi/which.texi:70 -#, no-wrap -msgid "(dir)" -msgstr "(dir)" - -#. type: top -#: original/texi/which.texi:71 -#, no-wrap -msgid "@command{which}: Show the full path of commands" -msgstr "@command{which}: コマンドのフルパス表示" - -#. type: ifinfo -#: original/texi/which.texi:79 -msgid "The @command{which} program shows the full path of (shell) commands." -msgstr "@command{which} プログラムは(シェル)コマンドのフルパスを表示します。" - -#. type: ifinfo -#: original/texi/which.texi:82 -msgid "" -"This file documents @command{which} version @value{VERSION}, updated " -"@value{UPDATED}." -msgstr "" -"This file documents @command{which} version @value{VERSION}, updated " -"@value{UPDATED}." - -#. type: chapter -#: original/texi/which.texi:93 -#: original/texi/which.texi:96 -#, no-wrap -msgid "The @command{which} Program" -msgstr "@command{which} プログラム" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:95 -#: original/texi/which.texi:108 -#: original/texi/which.texi:126 -#, no-wrap -msgid "Invoking Which" -msgstr "which の起動" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "How to invoke @command{which}" -msgstr "@command{which} の起動方法" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:108 -#: original/texi/which.texi:124 -#: original/texi/which.texi:126 -#: original/texi/which.texi:127 -#: original/texi/which.texi:208 -#, no-wrap -msgid "Option Summary" -msgstr "オプションの概要" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Overview of commandline options" -msgstr "コマンドラインオプションの概要" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:126 -#: original/texi/which.texi:208 -#: original/texi/which.texi:209 -#: original/texi/which.texi:217 -#, no-wrap -msgid "Return Value" -msgstr "返り値" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "The return value of @command{which}" -msgstr "@command{which} が返す値" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:208 -#: original/texi/which.texi:217 -#: original/texi/which.texi:218 -#: original/texi/which.texi:261 -#, no-wrap -msgid "Example" -msgstr "例" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Examples of invokation" -msgstr "コマンドの実行例" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:217 -#: original/texi/which.texi:261 -#: original/texi/which.texi:262 -#: original/texi/which.texi:273 -#, no-wrap -msgid "Bugs" -msgstr "バグ" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Known bugs" -msgstr "既知のバグ" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:261 -#: original/texi/which.texi:273 -#: original/texi/which.texi:274 -#: original/texi/which.texi:280 -#, no-wrap -msgid "See Also" -msgstr "関連項目" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Related UNIX commands" -msgstr "関連する UNIX コマンド" - -#. type: unnumbered -#: original/texi/which.texi:93 -#: original/texi/which.texi:273 -#: original/texi/which.texi:280 -#: original/texi/which.texi:282 -#, no-wrap -msgid "Index" -msgstr "さくいん" - -#. type: cindex -#: original/texi/which.texi:97 -#, no-wrap -msgid "Description of @command{which}" -msgstr "Description of @command{which}" - -#. type: Plain text -#: original/texi/which.texi:107 -msgid "" -"@command{Which} takes one or more arguments. For each of its arguments it " -"prints to stdout the full path of the executables that would have been " -"executed when this argument had been entered at the shell prompt. It does " -"this by searching for an executable or script in the directories listed in " -"the environment variable @env{PATH} using the same algorithm as " -"@command{bash(1)}." -msgstr "" -"@command{which} は 1 つまたは複数の引数を取ります。" -"その引数それぞれに対して、その引数がシェルプロンプトから入力された際に、実行されることになる実行モジュールの" -"フルパスを stdout に出力します。 " -"これを実現する際には、環境変数 @env{PATH} に列記されたディレクトリ内から実行ファイルやスクリプトを検索します。 " -"これは @command{bash(1)} と同じアルゴリズムを用いています。" - -#. type: cindex -#: original/texi/which.texi:109 -#: original/texi/which.texi:110 -#, no-wrap -msgid "Invoking @command{which}" -msgstr "@command{which} の実行" - -#. type: cindex -#: original/texi/which.texi:111 -#, no-wrap -msgid "Synopsis" -msgstr "Synopsis" - -#. type: Plain text -#: original/texi/which.texi:115 -msgid "The synopsis to invoke @command{which} is" -msgstr "@command{which} の実行書式は以下のとおりです。" - -#. type: example -#: original/texi/which.texi:119 -#, no-wrap -msgid "which [options] [--] programname [...]\n" -msgstr "which [options] [--] programname [...]\n" - -#. type: menuentry -#: original/texi/which.texi:124 -msgid "Option summary" -msgstr "オプション概要" - -#. type: cindex -#: original/texi/which.texi:128 -#, no-wrap -msgid "Options, command line" -msgstr "Options, command line" - -#. type: cindex -#: original/texi/which.texi:129 -#, no-wrap -msgid "Command line Options" -msgstr "Command line Options" - -#. type: cindex -#: original/texi/which.texi:130 -#, no-wrap -msgid "Overview of command line options" -msgstr "Overview of command line options" - -#. type: item -#: original/texi/which.texi:134 -#: original/texi/which.texi:136 -#, no-wrap -msgid "--all" -msgstr "--all" - -#. type: itemx -#: original/texi/which.texi:135 -#: original/texi/which.texi:137 -#, no-wrap -msgid "-a" -msgstr "-a" - -#. type: table -#: original/texi/which.texi:139 -msgid "Print all matching executables in @env{PATH}, not just the first." -msgstr "@env{PATH} において見つかった実行ファイルをすべて表示します。" -"最初に見つかった一つだけではありません。" - -#. type: item -#: original/texi/which.texi:140 -#: original/texi/which.texi:142 -#, no-wrap -msgid "--read-alias" -msgstr "--read-alias" - -#. type: itemx -#: original/texi/which.texi:141 -#: original/texi/which.texi:143 -#, no-wrap -msgid "-i" -msgstr "-i" - -#. type: table -#: original/texi/which.texi:148 -msgid "" -"Read aliases from stdin, reporting matching ones on stdout. This is useful " -"in combination with using an alias for which itself. For example@* " -"@code{alias which='alias | which -i'}." -msgstr "" -"標準入力からエイリアスを読み込んで、合致したものを標準出力します。 " -"これは which そのものを含む alias において、本オプションを合わせて利用すると便利です。 " -"たとえば以下です。@* " -"@code{alias which='alias | which -i'}" - -#. type: item -#: original/texi/which.texi:149 -#: original/texi/which.texi:150 -#, no-wrap -msgid "--skip-alias" -msgstr "--skip-alias" - -#. type: table -#: original/texi/which.texi:154 -msgid "" -"Ignore option @option{--read-alias}, if any. This is useful to explicity " -"search for normal binaries, while using the @option{--read-alias} option in " -"an alias or function for which." -msgstr "" -"@option{--read-alias} が指定されても無視します。" -"which に対するエイリアスや関数の中で @option{--read-alias} オプションを利用している場合であっても、" -"明示的に通常の実行ファイルを検索する場合に利用できます。" - -#. type: item -#: original/texi/which.texi:155 -#: original/texi/which.texi:156 -#, no-wrap -msgid "--read-functions" -msgstr "--read-functions" - -#. type: table -#: original/texi/which.texi:161 -msgid "" -"Read shell function definitions from stdin, reporting matching ones on " -"stdout. This is useful in combination with using a shell function for which " -"itself. For example:@* @code{which() @{ declare -f | which --read-functions " -"$@@ @}@*export -f which}" -msgstr "" -"標準入力からシェル関数定義を読み込んで、合致したものを標準出力します。" -"これは which そのものを含むシェル関数において、本オプションを合わせて利用すると便利です。" -"たとえば以下です。@* @code{which() @{ declare -f | which --read-functions " -"$@@ @}@*export -f which}" - -#. type: item -#: original/texi/which.texi:162 -#: original/texi/which.texi:163 -#, no-wrap -msgid "--skip-functions" -msgstr "--skip-functions" - -#. type: table -#: original/texi/which.texi:167 -msgid "" -"Ignore option @option{--read-functions}, if any. This is useful to explicity " -"search for normal binaries, while using the @option{--read-functions} option " -"in an alias or function for which." -msgstr "" -"@option{--read-functions} が指定されても無視します。" -"which に対するエイリアスや関数の中で @option{--read-functions} オプションを利用している場合であっても、" -"明示的に通常の実行ファイルを検索する場合に利用できます。" - -#. type: item -#: original/texi/which.texi:168 -#: original/texi/which.texi:169 -#, no-wrap -msgid "--skip-dot" -msgstr "--skip-dot" - -#. type: table -#: original/texi/which.texi:171 -msgid "Skip directories in @env{PATH} that start with a dot." -msgstr "@env{PATH} 内のディレクトリにうち、ドットで始まるディレクトリは除外します。" - -#. type: item -#: original/texi/which.texi:172 -#: original/texi/which.texi:173 -#, no-wrap -msgid "--skip-tilde" -msgstr "--skip-tilde" - -#. type: table -#: original/texi/which.texi:176 -msgid "" -"Skip directories in @env{PATH} that start with a tilde and executables which " -"reside in the @env{HOME} directory." -msgstr "" -"チルダで始まる @env{PATH} 内のディレクトリ、" -"および @env{HOME} ディレクトリ内に存在する実行ファイルは除外します。" - -#. type: item -#: original/texi/which.texi:177 -#: original/texi/which.texi:178 -#, no-wrap -msgid "--show-dot" -msgstr "--show-dot" - -#. type: table -#: original/texi/which.texi:182 -msgid "" -"If a directory in @env{PATH} starts with a dot and a matching executable was " -"found for that path, then print \"./programname\" rather than the full path." -msgstr "" -"@env{PATH} 内にドットで始まるディレクトリがあって、" -"合致した実行ファイルがその中に見つかった場合には、" -"フルパスでなく \"./programname\" と表示します。" - -#. type: item -#: original/texi/which.texi:183 -#: original/texi/which.texi:184 -#, no-wrap -msgid "--show-tilde" -msgstr "--show-tilde" - -#. type: table -#: original/texi/which.texi:188 -msgid "" -"Output a tilde when a directory matches the @env{HOME} directory. This " -"option is ignored when which is invoked as root." -msgstr "" -"ディレクトリが @env{HOME} に合致した場合、チルダを表示します。 " -"このオプションは root ユーザーが実行した際には無視されます。 " - -#. type: item -#: original/texi/which.texi:189 -#: original/texi/which.texi:190 -#, no-wrap -msgid "--tty-only" -msgstr "--tty-only" - -#. type: table -#: original/texi/which.texi:192 -msgid "Stop processing options on the right if not on tty." -msgstr "tty 上でない場合、この右側に指定されたオプションの実行を停止します。" - -#. type: option{#1} -#: original/texi/which.texi:193 -#, no-wrap -msgid "--version" -msgstr "--version" - -#. type: option{#1} -#: original/texi/which.texi:194 -#, no-wrap -msgid "-v" -msgstr "-v" - -#. type: option{#1} -#: original/texi/which.texi:195 -#, no-wrap -msgid "-V" -msgstr "-V" - -#. type: item -#: original/texi/which.texi:196 -#, no-wrap -msgid "--version, -v, -V" -msgstr "--version, -v, -V" - -#. type: table -#: original/texi/which.texi:199 -msgid "Print version information on standard output then exit successfully." -msgstr "バージョン情報を標準出力して正常終了します。" - -#. type: item -#: original/texi/which.texi:200 -#: original/texi/which.texi:201 -#, no-wrap -msgid "--help" -msgstr "--help" - -#. type: table -#: original/texi/which.texi:204 -msgid "Print usage information on standard output then exit successfully." -msgstr "利用方法を標準出力して正常終了します。" - -#. type: cindex -#: original/texi/which.texi:210 -#, no-wrap -msgid "Return value of @command{which}" -msgstr "Return value of @command{which}" - -#. type: Plain text -#: original/texi/which.texi:216 -msgid "" -"@command{Which} returns the number of failed arguments, or -1 when no " -"@file{programname} was given." -msgstr "" -"@command{which} は、処理に失敗した引数の数を返します。" -"また @file{programname} が指定されなかった場合は -1 を返します。" - -#. type: cindex -#: original/texi/which.texi:219 -#, no-wrap -msgid "Examples" -msgstr "Examples" - -#. type: cindex -#: original/texi/which.texi:220 -#, no-wrap -msgid "aliases, handling of" -msgstr "aliases, handling of" - -#. type: Plain text -#: original/texi/which.texi:225 -msgid "" -"The recommended way to use this utility is by adding an alias (C shell) or " -"shell function (Bourne shell) for @command{which} like the following:" -msgstr "" -"本ユーティリティーを利用するには、@command{which} に対して、" -"エイリアスを追加する (C シェルの場合) 、" -"あるいはシェル関数を追加する (Bourne シェル) 方法が推奨されます。" -"たとえば以下のようにします。" - -#. type: Plain text -#: original/texi/which.texi:227 -msgid "[ba]sh:" -msgstr "[ba]sh:" - -#. type: group -#: original/texi/which.texi:235 -#, no-wrap -msgid "" -"which ()\n" -"@{\n" -" (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@@\n" -"@}\n" -"export -f which\n" -msgstr "" -"which ()\n" -"@{\n" -" (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@@\n" -"@}\n" -"export -f which\n" - -#. type: Plain text -#: original/texi/which.texi:239 -msgid "[t]csh:" -msgstr "[t]csh:" - -#. type: group -#: original/texi/which.texi:243 -#, no-wrap -msgid "alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'\n" -msgstr "alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'\n" - -#. type: Plain text -#: original/texi/which.texi:250 -msgid "" -"This will print the readable ~/ and ./ when starting which from your prompt, " -"while still printing the full path when used from a script:" -msgstr "" -"この方法にすると、端末から起動した際には、わかりやすく ~/ や ./ を表示します。" -"一方でスクリプトから実行した際には、フルパスを表示します。" - -#. type: group -#: original/texi/which.texi:257 -#, no-wrap -msgid "" -"> which q2\n" -"~/bin/q2\n" -"> echo `which q2`\n" -"/home/carlo/bin/q2\n" -msgstr "" -"> which q2\n" -"~/bin/q2\n" -"> echo `which q2`\n" -"/home/carlo/bin/q2\n" - -#. type: cindex -#: original/texi/which.texi:263 -#, no-wrap -msgid "Bugs, known" -msgstr "Bugs, known" - -#. type: Plain text -#: original/texi/which.texi:272 -msgid "" -"The @env{HOME} directory is determined by looking for the @env{HOME} " -"environment variable, which aborts when this variable doesn't exist. " -"@command{Which} will consider two equivalent directories to be different " -"when one of them contains a path with a symbolic link." -msgstr "" -"@env{HOME} ディレクトリは、環境変数 @env{HOME} を調べることで決定されますが、" -"この変数が存在しない場合には、その処理がキャンセルされます。" -"@command{which} は 2 つの同等のディレクトリであっても、その 1 つにシンボリック" -"リンクを使ったパスが含まれている場合に、別のディレクトリと取り扱ってしまいます。" - -#. type: command{#1} -#: original/texi/which.texi:279 -msgid "bash(1)" -msgstr "bash(1)" diff --git a/info/GNU_which/po4a/texi/which-texi.cfg b/info/GNU_which/po4a/texi/which-texi.cfg deleted file mode 100644 index 4c0ba1e1..00000000 --- a/info/GNU_which/po4a/texi/which-texi.cfg +++ /dev/null @@ -1,6 +0,0 @@ -[po4a_langs] ja -[po4a_paths] po4a/texi/which-texi.pot $lang:po4a/texi/ja.po - -[type: texinfo] original/texi/which.texi $lang:draft/texi/which.texi \ - add_$lang:po4a/texi/adddocumentlanguage.txt -[type: texinfo] original/texi/version.texi $lang:draft/texi/version.texi diff --git a/info/GNU_which/po4a/texi/which-texi.pot b/info/GNU_which/po4a/texi/which-texi.pot deleted file mode 100644 index 3fc99c9d..00000000 --- a/info/GNU_which/po4a/texi/which-texi.pot +++ /dev/null @@ -1,633 +0,0 @@ -# SOME DESCRIPTIVE TITLE -# Copyright (C) YEAR Free Software Foundation, Inc. -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2021-07-12 13:00+0900\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#. type: settitle -#: original/texi/which.texi:4 -#, no-wrap -msgid "@command{which}: show full path of commands" -msgstr "" - -#. type: include -#: original/texi/which.texi:5 -#, no-wrap -msgid "version.texi" -msgstr "" - -#. type: dircategory -#: original/texi/which.texi:6 -#, no-wrap -msgid "System administration" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:9 -msgid "Which: (which)" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:9 -msgid "Show full path of commands." -msgstr "" - -#. type: format -#: original/texi/which.texi:20 -#, no-wrap -msgid "" -"This file documents `which' version 2.x@.\n" -"\n" -msgstr "" - -#. type: format -#: original/texi/which.texi:23 -#, no-wrap -msgid "" -"Copyright @copyright{} 2000 - 2015, by\n" -"\n" -msgstr "" - -#. type: format -#: original/texi/which.texi:27 -#, no-wrap -msgid "" -"Carlo Wood, Run on IRC \n" -"RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt\n" -"Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61\n" -"\n" -msgstr "" - -#. type: format -#: original/texi/which.texi:31 -#, no-wrap -msgid "" -"Permission is granted to make and distribute verbatim copies of\n" -"this manual provided the copyright notice and this permission notice\n" -"are preserved on all copies.\n" -msgstr "" - -#. type: title -#: original/texi/which.texi:51 -#, no-wrap -msgid "Which" -msgstr "" - -#. type: subtitle -#: original/texi/which.texi:52 -#, no-wrap -msgid "Show the full path of commands" -msgstr "" - -#. type: subtitle -#: original/texi/which.texi:54 -#, no-wrap -msgid "Edition @value{EDITION}, for Which Version @value{VERSION}" -msgstr "" - -#. type: subtitle -#: original/texi/which.texi:55 -#, no-wrap -msgid "@value{UPDATED}" -msgstr "" - -#. type: author -#: original/texi/which.texi:57 -#, no-wrap -msgid "Carlo Wood <@email{carlo@@gnu.org}>" -msgstr "" - -#. type: titlepage -#: original/texi/which.texi:62 -msgid "Copyright @copyright{} 2000 - 2015, by" -msgstr "" - -#. type: titlepage -#: original/texi/which.texi:66 -msgid "" -"Carlo Wood, Run on IRC RSA-1024 0x624ACAD5 1997-01-26 " -"Sign & Encrypt Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF " -"61" -msgstr "" - -#. type: node -#: original/texi/which.texi:70 -#: original/texi/which.texi:95 -#: original/texi/which.texi:108 -#: original/texi/which.texi:126 -#: original/texi/which.texi:208 -#: original/texi/which.texi:217 -#: original/texi/which.texi:261 -#: original/texi/which.texi:273 -#: original/texi/which.texi:280 -#, no-wrap -msgid "Top" -msgstr "" - -#. type: node -#: original/texi/which.texi:70 -#: original/texi/which.texi:93 -#: original/texi/which.texi:95 -#: original/texi/which.texi:108 -#, no-wrap -msgid "Which Program" -msgstr "" - -#. type: node -#: original/texi/which.texi:70 -#, no-wrap -msgid "(dir)" -msgstr "" - -#. type: top -#: original/texi/which.texi:71 -#, no-wrap -msgid "@command{which}: Show the full path of commands" -msgstr "" - -#. type: ifinfo -#: original/texi/which.texi:79 -msgid "The @command{which} program shows the full path of (shell) commands." -msgstr "" - -#. type: ifinfo -#: original/texi/which.texi:82 -msgid "" -"This file documents @command{which} version @value{VERSION}, updated " -"@value{UPDATED}." -msgstr "" - -#. type: chapter -#: original/texi/which.texi:93 -#: original/texi/which.texi:96 -#, no-wrap -msgid "The @command{which} Program" -msgstr "" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:95 -#: original/texi/which.texi:108 -#: original/texi/which.texi:126 -#, no-wrap -msgid "Invoking Which" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "How to invoke @command{which}" -msgstr "" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:108 -#: original/texi/which.texi:124 -#: original/texi/which.texi:126 -#: original/texi/which.texi:127 -#: original/texi/which.texi:208 -#, no-wrap -msgid "Option Summary" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Overview of commandline options" -msgstr "" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:126 -#: original/texi/which.texi:208 -#: original/texi/which.texi:209 -#: original/texi/which.texi:217 -#, no-wrap -msgid "Return Value" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "The return value of @command{which}" -msgstr "" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:208 -#: original/texi/which.texi:217 -#: original/texi/which.texi:218 -#: original/texi/which.texi:261 -#, no-wrap -msgid "Example" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Examples of invokation" -msgstr "" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:217 -#: original/texi/which.texi:261 -#: original/texi/which.texi:262 -#: original/texi/which.texi:273 -#, no-wrap -msgid "Bugs" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Known bugs" -msgstr "" - -#. type: node -#: original/texi/which.texi:93 -#: original/texi/which.texi:261 -#: original/texi/which.texi:273 -#: original/texi/which.texi:274 -#: original/texi/which.texi:280 -#, no-wrap -msgid "See Also" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:93 -msgid "Related UNIX commands" -msgstr "" - -#. type: unnumbered -#: original/texi/which.texi:93 -#: original/texi/which.texi:273 -#: original/texi/which.texi:280 -#: original/texi/which.texi:282 -#, no-wrap -msgid "Index" -msgstr "" - -#. type: cindex -#: original/texi/which.texi:97 -#, no-wrap -msgid "Description of @command{which}" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:107 -msgid "" -"@command{Which} takes one or more arguments. For each of its arguments it " -"prints to stdout the full path of the executables that would have been " -"executed when this argument had been entered at the shell prompt. It does " -"this by searching for an executable or script in the directories listed in " -"the environment variable @env{PATH} using the same algorithm as " -"@command{bash(1)}." -msgstr "" - -#. type: cindex -#: original/texi/which.texi:109 -#: original/texi/which.texi:110 -#, no-wrap -msgid "Invoking @command{which}" -msgstr "" - -#. type: cindex -#: original/texi/which.texi:111 -#, no-wrap -msgid "Synopsis" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:115 -msgid "The synopsis to invoke @command{which} is" -msgstr "" - -#. type: example -#: original/texi/which.texi:119 -#, no-wrap -msgid "which [options] [--] programname [...]\n" -msgstr "" - -#. type: menuentry -#: original/texi/which.texi:124 -msgid "Option summary" -msgstr "" - -#. type: cindex -#: original/texi/which.texi:128 -#, no-wrap -msgid "Options, command line" -msgstr "" - -#. type: cindex -#: original/texi/which.texi:129 -#, no-wrap -msgid "Command line Options" -msgstr "" - -#. type: cindex -#: original/texi/which.texi:130 -#, no-wrap -msgid "Overview of command line options" -msgstr "" - -#. type: item -#: original/texi/which.texi:134 -#: original/texi/which.texi:136 -#, no-wrap -msgid "--all" -msgstr "" - -#. type: itemx -#: original/texi/which.texi:135 -#: original/texi/which.texi:137 -#, no-wrap -msgid "-a" -msgstr "" - -#. type: table -#: original/texi/which.texi:139 -msgid "Print all matching executables in @env{PATH}, not just the first." -msgstr "" - -#. type: item -#: original/texi/which.texi:140 -#: original/texi/which.texi:142 -#, no-wrap -msgid "--read-alias" -msgstr "" - -#. type: itemx -#: original/texi/which.texi:141 -#: original/texi/which.texi:143 -#, no-wrap -msgid "-i" -msgstr "" - -#. type: table -#: original/texi/which.texi:148 -msgid "" -"Read aliases from stdin, reporting matching ones on stdout. This is useful " -"in combination with using an alias for which itself. For example@* " -"@code{alias which='alias | which -i'}." -msgstr "" - -#. type: item -#: original/texi/which.texi:149 -#: original/texi/which.texi:150 -#, no-wrap -msgid "--skip-alias" -msgstr "" - -#. type: table -#: original/texi/which.texi:154 -msgid "" -"Ignore option @option{--read-alias}, if any. This is useful to explicity " -"search for normal binaries, while using the @option{--read-alias} option in " -"an alias or function for which." -msgstr "" - -#. type: item -#: original/texi/which.texi:155 -#: original/texi/which.texi:156 -#, no-wrap -msgid "--read-functions" -msgstr "" - -#. type: table -#: original/texi/which.texi:161 -msgid "" -"Read shell function definitions from stdin, reporting matching ones on " -"stdout. This is useful in combination with using a shell function for which " -"itself. For example:@* @code{which() @{ declare -f | which --read-functions " -"$@@ @}@*export -f which}" -msgstr "" - -#. type: item -#: original/texi/which.texi:162 -#: original/texi/which.texi:163 -#, no-wrap -msgid "--skip-functions" -msgstr "" - -#. type: table -#: original/texi/which.texi:167 -msgid "" -"Ignore option @option{--read-functions}, if any. This is useful to explicity " -"search for normal binaries, while using the @option{--read-functions} option " -"in an alias or function for which." -msgstr "" - -#. type: item -#: original/texi/which.texi:168 -#: original/texi/which.texi:169 -#, no-wrap -msgid "--skip-dot" -msgstr "" - -#. type: table -#: original/texi/which.texi:171 -msgid "Skip directories in @env{PATH} that start with a dot." -msgstr "" - -#. type: item -#: original/texi/which.texi:172 -#: original/texi/which.texi:173 -#, no-wrap -msgid "--skip-tilde" -msgstr "" - -#. type: table -#: original/texi/which.texi:176 -msgid "" -"Skip directories in @env{PATH} that start with a tilde and executables which " -"reside in the @env{HOME} directory." -msgstr "" - -#. type: item -#: original/texi/which.texi:177 -#: original/texi/which.texi:178 -#, no-wrap -msgid "--show-dot" -msgstr "" - -#. type: table -#: original/texi/which.texi:182 -msgid "" -"If a directory in @env{PATH} starts with a dot and a matching executable was " -"found for that path, then print \"./programname\" rather than the full path." -msgstr "" - -#. type: item -#: original/texi/which.texi:183 -#: original/texi/which.texi:184 -#, no-wrap -msgid "--show-tilde" -msgstr "" - -#. type: table -#: original/texi/which.texi:188 -msgid "" -"Output a tilde when a directory matches the @env{HOME} directory. This " -"option is ignored when which is invoked as root." -msgstr "" - -#. type: item -#: original/texi/which.texi:189 -#: original/texi/which.texi:190 -#, no-wrap -msgid "--tty-only" -msgstr "" - -#. type: table -#: original/texi/which.texi:192 -msgid "Stop processing options on the right if not on tty." -msgstr "" - -#. type: option{#1} -#: original/texi/which.texi:193 -#, no-wrap -msgid "--version" -msgstr "" - -#. type: option{#1} -#: original/texi/which.texi:194 -#, no-wrap -msgid "-v" -msgstr "" - -#. type: option{#1} -#: original/texi/which.texi:195 -#, no-wrap -msgid "-V" -msgstr "" - -#. type: item -#: original/texi/which.texi:196 -#, no-wrap -msgid "--version, -v, -V" -msgstr "" - -#. type: table -#: original/texi/which.texi:199 -msgid "Print version information on standard output then exit successfully." -msgstr "" - -#. type: item -#: original/texi/which.texi:200 -#: original/texi/which.texi:201 -#, no-wrap -msgid "--help" -msgstr "" - -#. type: table -#: original/texi/which.texi:204 -msgid "Print usage information on standard output then exit successfully." -msgstr "" - -#. type: cindex -#: original/texi/which.texi:210 -#, no-wrap -msgid "Return value of @command{which}" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:216 -msgid "" -"@command{Which} returns the number of failed arguments, or -1 when no " -"@file{programname} was given." -msgstr "" - -#. type: cindex -#: original/texi/which.texi:219 -#, no-wrap -msgid "Examples" -msgstr "" - -#. type: cindex -#: original/texi/which.texi:220 -#, no-wrap -msgid "aliases, handling of" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:225 -msgid "" -"The recommended way to use this utility is by adding an alias (C shell) or " -"shell function (Bourne shell) for @command{which} like the following:" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:227 -msgid "[ba]sh:" -msgstr "" - -#. type: group -#: original/texi/which.texi:235 -#, no-wrap -msgid "" -"which ()\n" -"@{\n" -" (alias; declare -f) | /usr/bin/which --tty-only --read-alias " -"--read-functions --show-tilde --show-dot $@@\n" -"@}\n" -"export -f which\n" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:239 -msgid "[t]csh:" -msgstr "" - -#. type: group -#: original/texi/which.texi:243 -#, no-wrap -msgid "" -"alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot " -"--show-tilde'\n" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:250 -msgid "" -"This will print the readable ~/ and ./ when starting which from your prompt, " -"while still printing the full path when used from a script:" -msgstr "" - -#. type: group -#: original/texi/which.texi:257 -#, no-wrap -msgid "" -"> which q2\n" -"~/bin/q2\n" -"> echo `which q2`\n" -"/home/carlo/bin/q2\n" -msgstr "" - -#. type: cindex -#: original/texi/which.texi:263 -#, no-wrap -msgid "Bugs, known" -msgstr "" - -#. type: Plain text -#: original/texi/which.texi:272 -msgid "" -"The @env{HOME} directory is determined by looking for the @env{HOME} " -"environment variable, which aborts when this variable doesn't exist. " -"@command{Which} will consider two equivalent directories to be different " -"when one of them contains a path with a symbolic link." -msgstr "" - -#. type: command{#1} -#: original/texi/which.texi:279 -msgid "bash(1)" -msgstr ""