• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

翻訳ドキュメント管理用


Commit MetaInfo

Revision9e66c92e3333b5e737a2ada88ff889af9f1473a2 (tree)
Time2021-07-05 12:53:14
Authormatsuand <30614168+matsuand@user...>
Commitermatsuand

Log Message

GNU_which: Add sources to preview.

Change Summary

Incremental Difference

--- /dev/null
+++ b/manual/GNU_which/Makefile
@@ -0,0 +1,22 @@
1+#
2+# Copyright (c) 2021 Linux JM project
3+# all rights reserved.
4+#
5+PACKAGE_NAME = which
6+PACKAGE_VERSION = 2.21
7+PACKAGE_DATE = 2015/03/21
8+
9+AUTHOR_NAME = "Linux JM project"
10+AUTHOR_EMAIL = "linuxjm-discuss@lists.osdn.me"
11+
12+man_numbers = 1
13+man1_sources = \
14+ which
15+
16+THRESH = 100
17+EXTFLAGS =
18+PO4A_FLAGS = -M UTF-8 -k $(THRESH)
19+PO4A_FLAGS += $(EXTFLAGS)
20+LANGS = ja
21+
22+include po4a.mk
--- /dev/null
+++ b/manual/GNU_which/original/man1/which.1
@@ -0,0 +1,155 @@
1+.TH WHICH 1
2+.rn RS Rs
3+.de RS
4+.na
5+.nf
6+.Rs
7+..
8+.rn RE Re
9+.de RE
10+.Re
11+.fi
12+.ad
13+..
14+.de Sx
15+.PP
16+.ne \\$1
17+.RS
18+..
19+.de Ex
20+.RE
21+.PP
22+..
23+.na
24+.SH NAME
25+which \- shows the full path of (shell) commands.
26+.SH SYNOPSIS
27+.B which
28+[options] [\-\-] programname [...]
29+.SH DESCRIPTION
30+\fBWhich\fR takes one or more arguments. For each of its arguments
31+it prints to stdout the full path of the executables
32+that would have been executed when this argument had been
33+entered at the shell prompt. It does this by searching
34+for an executable or script in the directories listed in
35+the environment variable \fBPATH\fR using the same algorithm as \fBbash(1)\fR.
36+
37+This man page is generated from the file \fIwhich.texinfo\fR.
38+.SH OPTIONS
39+
40+.TP 4
41+.B --all\fR, \fB-a\fR
42+Print all matching executables in \fBPATH\fR, not just the first.
43+.TP
44+.B --read-alias\fR, \fB-i\fR
45+Read aliases from stdin, reporting matching ones on
46+stdout. This is useful in combination with using an
47+alias for which itself. For example
48+.br
49+.B
50+alias which=\'alias | which -i\'\fR.
51+.TP
52+.B --skip-alias\fR
53+Ignore option \`--read-alias\', if any. This is useful to
54+explicity search for normal binaries, while using
55+the \`--read-alias\' option in an alias or function for which.
56+.TP
57+.B --read-functions\fR
58+Read shell function definitions from stdin, reporting matching
59+ones on stdout. This is useful in combination with using a shell
60+function for which itself. For example:
61+.br
62+.B
63+which() { declare -f | which --read-functions $@ }
64+.br
65+export -f which\fR
66+.TP
67+.B --skip-functions\fR
68+Ignore option \`--read-functions\', if any. This is useful to
69+explicity search for normal binaries, while using
70+the \`--read-functions\' option in an alias or function for which.
71+.TP
72+.B --skip-dot\fR
73+Skip directories in \fBPATH\fR that start with a dot.
74+.TP
75+.B --skip-tilde\fR
76+Skip directories in \fBPATH\fR that start with a tilde and
77+executables which reside in the \fBHOME\fR directory.
78+.TP
79+.B --show-dot\fR
80+If a directory in \fBPATH\fR starts with a dot and a matching
81+executable was found for that path, then print
82+"./programname" rather than the full path.
83+.TP
84+.B --show-tilde\fR
85+Output a tilde when a directory matches the \fBHOME\fR
86+directory. This option is ignored when which is
87+invoked as root.
88+.TP
89+.B --tty-only\fR
90+Stop processing options on the right if not on tty.
91+.TP
92+.B --version,-v,-V\fR
93+Print version information on standard output then exit
94+successfully.
95+.TP
96+.B --help\fR
97+Print usage information on standard output then exit
98+successfully.
99+.SH RETURN VALUE
100+\fBWhich\fR returns the number of failed arguments, or -1 when
101+no \`programname\' was given.
102+.SH EXAMPLE
103+The recommended way to use this utility is by adding an alias (C shell)
104+or shell function (Bourne shell) for \fBwhich\fR like the following:
105+
106+[ba]sh:
107+
108+.in +5
109+.nf
110+.na
111+which ()
112+{
113+ (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@
114+}
115+export -f which
116+.in -5
117+.ad
118+.fi
119+
120+[t]csh:
121+
122+.in +5
123+.nf
124+.na
125+alias which \'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde\'
126+.in -5
127+.ad
128+.fi
129+
130+This will print the readable ~/ and ./ when starting which
131+from your prompt, while still printing the full path when
132+used from a script:
133+
134+.in +5
135+.nf
136+.na
137+> which q2
138+~/bin/q2
139+> echo \`which q2\`
140+/home/carlo/bin/q2
141+.in -5
142+.ad
143+.fi
144+
145+.SH BUGS
146+The \fBHOME\fR directory is determined by looking for the \fBHOME\fR
147+environment variable, which aborts when this variable
148+doesn\'t exist. \fBWhich\fR will consider two equivalent directories
149+to be different when one of them contains a path
150+with a symbolic link.
151+.SH AUTHOR
152+.br
153+Carlo Wood <carlo@gnu.org>
154+.SH "SEE ALSO"
155+\fBbash(1)\fR
--- /dev/null
+++ b/manual/GNU_which/po4a.mk
@@ -0,0 +1,115 @@
1+#
2+# Part of Makefile rules for po4a proccesing
3+# type: one-cfg
4+#
5+# Written by Michio MATSUYAMA <michio_matsuyama@yahoo.co.jp>
6+#
7+.DEFAULT_GOAL := all
8+COMMENT = "This is generated from Makefile automatically. Need NOT to edit."
9+
10+# 変数設定
11+-include .mk/po4a-def.mk
12+.mk/po4a-def.mk: po4a.mk Makefile
13+ @mkdir -p $(@D)
14+ @echo "# $(COMMENT)">$@
15+ @for n in $(man_numbers); do \
16+ echo >>$@ ;\
17+ echo "man$${n}_filepaths = \$$(addsuffix .$${n},\$$(addprefix release/man$$n/,\$$(man$${n}_sources)))" >>$@ ;\
18+ echo "man$${n}_srcs_simple = \$$(addsuffix .$${n},\$$(man$${n}_sources))" >>$@ ;\
19+ echo "man_srcs_simple += \$$(man$${n}_srcs_simple)" >>$@ ;\
20+ echo "draft$${n}_filepaths = \$$(addsuffix .$${n},\$$(addprefix draft/man$$n/,\$$(man$${n}_sources)))" >>$@ ;\
21+ echo "po$${n}_filepaths = \$$(addprefix po4a/,ja.po)" >>$@ ;\
22+ echo "draft_filepaths += \$$(draft$${n}_filepaths)" >>$@ ;\
23+ echo "po_filepaths += \$$(po$${n}_filepaths)" >>$@ ;\
24+ echo "man_filepaths += \$$(man$${n}_filepaths)" >>$@ ;\
25+ done
26+
27+all: translate
28+
29+# man ファイル生成ルール ("one-cfg")
30+-include .mk/po4a-man.mk
31+.mk/po4a-man.mk: po4a.mk .mk/po4a-def.mk
32+ @echo "# $(COMMENT)">$@
33+ @echo >>$@
34+ @echo "translate: gencfg" >>$@
35+ @echo " po4a \$$(PO4A_FLAGS) -v --variable langs='\$$(LANGS)' \\" >> $@
36+ @echo " --previous po4a/\$$(PACKAGE_NAME).cfg" >> $@
37+
38+# draft ファイル自動生成ルール
39+-include .mk/po4a-draft.mk
40+.mk/po4a-draft.mk: po4a.mk .mk/po4a-def.mk
41+ @echo "# $(COMMENT)">$@
42+ @echo >>$@
43+ @echo "draft: \$$(draft_filepaths) gendraft.perl" >>$@
44+ @for n in $(man_numbers); do \
45+ echo >>$@ ;\
46+ echo "\$$(draft$${n}_filepaths): draft/man$${n}/%.$${n}: release/man$${n}/%.$${n}" >>$@ ;\
47+ echo " @echo Auto-generating draft for \$$@..." >>$@ ;\
48+ echo " @mkdir -p draft/man$${n}" >>$@ ;\
49+ echo " @perl ./gendraft.perl \\" >>$@ ;\
50+ echo " original/man$${n}/\$$*.$${n} \\" >>$@ ;\
51+ echo " release/man$${n}/\$$*.$${n} \\" >>$@ ;\
52+ echo " draft/man$${n}/\$$*.$${n}" >>$@ ;\
53+ done
54+
55+# copyright ファイル生成
56+gencopyright:
57+ @mkdir -p po4a/add_ja/copyright
58+ $(eval TIMESTAMP=$(shell date '+%Y-%m-%d'))
59+ @cd po4a/add_ja/copyright ;\
60+ for f in $(man_srcs_simple); do \
61+ if test ! -f $$f.txt; then \
62+ echo "PO4A-HEADER: mode=before; position=^\\.TH" > $$f.txt ;\
63+ echo ".\\\"" >> $$f.txt ;\
64+ echo ".\\\" Translated $(TIMESTAMP)" >> $$f.txt ;\
65+ echo ".\\\" by $(AUTHOR_NAME) <$(AUTHOR_EMAIL)>">> $$f.txt ;\
66+ echo ".\\\"" >> $$f.txt ;\
67+ fi \
68+ done
69+
70+# translation_list ファイル生成
71+translation_list:
72+ @if test ! -f $@; then \
73+ for p in $(man_srcs_simple); do \
74+ echo -n "×:$(PACKAGE_NAME):$(PACKAGE_VERSION):$(PACKAGE_DATE):" >> $@ && \
75+ echo -n $$p | sed -e "s/^\(.*\)\.\([1-8]\)$$/\1:\2/" >> $@ &&\
76+ echo ":0000/00/00::$(AUTHOR_EMAIL):$(AUTHOR_NAME):" >> $@; \
77+ done \
78+ fi
79+
80+# $(PACKAGE_NAME).cfg ファイル生成
81+-include .mk/po4a-cfg.mk
82+.mk/po4a-cfg.mk: po4a.mk .mk/po4a-def.mk
83+ @mkdir -p po4a
84+ @echo "# $(COMMENT)">$@
85+ @echo >>$@
86+ @echo "-include .mk/po4a-cfg-sub.mk" >>$@
87+ @echo ".mk/po4a-cfg-sub.mk: .mk/po4a-cfg.mk" >>$@
88+ @echo " @echo \"# \$$(COMMENT)\">\$$@" >>$@
89+ @echo " @echo >>\$$@" >>$@
90+ @echo " @echo \"gencfg: po4a/\\\$$\$$(PACKAGE_NAME).cfg\" >>\$$@" >>$@
91+ @echo " @echo \"po4a/\\\$$\$$(PACKAGE_NAME).cfg: .mk/po4a-cfg-sub.mk\" >>\$$@" >>$@
92+ @echo " @echo \" @if test ! -f \\\$$\$$@; then \\\\\" >>\$$@" >>$@
93+ @echo " @echo \" echo \\\"\"[po4a_langs] ja\\\"\" >\\\$$\$$@ ;\\\\\" >>\$$@" >>$@
94+ @echo " @echo \" echo \\\"\"[po4a_paths] po4a/\$$(PACKAGE_NAME).pot \\\\\\\$$\$$\\\$$\$$lang:po4a/\\\\\\\$$\$$\\\$$\$$lang.po\\\"\" >>\\\$$\$$@ ;\\\\\" >>\$$@" >>$@
95+ @echo " @echo \" for f in \\\$$\$$(man_srcs_simple); do \\\\\" >>\$$@" >>$@
96+ @echo " @echo \" echo >>\\\$$\$$@ ;\\\\\" >>\$$@" >>$@
97+ @echo " @echo \" echo \\\$$\$$\\\$$\$$f | sed -n \\\"s|^\\\\(.*\\\\)\\\\.\\\\([1-8]\\\\)\\\$$\$$\\\$$\$$|[type: man] original/man\\\\2/\\\\1.\\\\2 \\\\\\\$$\$$\\\$$\$$lang:release/man\\\\2/\\\\1.\\\\2 \\\\\\\\\|p\\\" >>\\\$$\$$@ ;\\\\\" >>\$$@" >>$@
98+ @echo " @echo \" echo \\\$$\$$\\\$$\$$f | sed -n \\\"s|^\\\\(.*\\\\)\\\\.\\\\([1-8]\\\\)\\\$$\$$\\\$$\$$| add_\\\\\\\$$\$$\\\$$\$$lang:\\?po4a/add_\\\\\\\$$\$$\\\$$\$$lang/copyright/\\\\1.\\\\2.txt|p\\\" >>\\\$$\$$@ ;\\\\\" >>\$$@" >>$@
99+ @echo " @echo \" done \\\\\" >>\$$@" >>$@
100+ @echo " @echo \" fi\" >>\$$@" >>$@
101+
102+
103+# 翻訳統計確認
104+stat:
105+ @for f in $(po_filepaths); do \
106+ echo -n "$$f: "; \
107+ msgfmt --statistics -o /dev/null $$f; \
108+ done
109+
110+clean::
111+
112+distclean:: clean
113+ rm -f .mk/po4a-{cfg,def,draft,man,po}.mk
114+
115+.PHONY: all gencopyright stat clean distclean
--- /dev/null
+++ b/manual/GNU_which/po4a/add_ja/copyright/which.1.txt
@@ -0,0 +1,5 @@
1+PO4A-HEADER: mode=before; position=^\.TH
2+.\"
3+.\" Translated 2021-07-05
4+.\" by Michio MATSUYAMA <michio_matsuyama@yahoo.co.jp>
5+.\"
--- /dev/null
+++ b/manual/GNU_which/po4a/ja.po
@@ -0,0 +1,389 @@
1+# Japanese translations for GNU which package
2+#
3+# Japanese Version Copyright (c) 2021 Linux JM project
4+# all rights reserved.
5+#
6+msgid ""
7+msgstr ""
8+"Project-Id-Version: GNU which 2.21\n"
9+"POT-Creation-Date: 2021-05-15 13:00+0900\n"
10+"PO-Revision-Date: 2021-07-05 12:45+0900\n"
11+"Last-Translator: Michio MATSUYAMA <michio_matsuyama@yahoo.co.jp>\n"
12+"Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n"
13+"Language: ja\n"
14+"MIME-Version: 1.0\n"
15+"Content-Type: text/plain; charset=UTF-8\n"
16+"Content-Transfer-Encoding: 8bit\n"
17+"Plural-Forms: nplurals=1; plural=0;\n"
18+
19+#. type: TH
20+#: original/man1/which.1:1
21+#, no-wrap
22+msgid "WHICH"
23+msgstr "WHICH"
24+
25+#. type: SH
26+#: original/man1/which.1:24
27+#, no-wrap
28+msgid "NAME"
29+msgstr "名前"
30+
31+#. type: Plain text
32+#: original/man1/which.1:26
33+msgid "which - shows the full path of (shell) commands."
34+msgstr "which - (シェル) コマンドのフルパスを表示します"
35+
36+#. type: SH
37+#: original/man1/which.1:26
38+#, no-wrap
39+msgid "SYNOPSIS"
40+msgstr "書式"
41+
42+#. type: Plain text
43+#: original/man1/which.1:29
44+msgid "B<which> [options] [--] programname [...]"
45+msgstr "B<which> [options] [--] programname [...]"
46+
47+#. type: SH
48+#: original/man1/which.1:29
49+#, no-wrap
50+msgid "DESCRIPTION"
51+msgstr "説明"
52+
53+#. type: Plain text
54+#: original/man1/which.1:36
55+msgid ""
56+"B<Which> takes one or more arguments. For each of its arguments it prints to "
57+"stdout the full path of the executables that would have been executed when "
58+"this argument had been entered at the shell prompt. It does this by "
59+"searching for an executable or script in the directories listed in the "
60+"environment variable B<PATH> using the same algorithm as B<bash(1)>."
61+msgstr ""
62+"B<which> は 1 つまたは複数の引数を取ります。 "
63+"その引数それぞれに対して、その引数がシェルプロンプトから入力された際に、実行されることになる実行モジュールの"
64+"フルパスを stdout に出力します。 "
65+"これを実現する際には、環境変数 B<PATH> に列記されたディレクトリ内から実行ファイルやスクリプトを検索します。 "
66+"これは B<bash(1)> と同じアルゴリズムを用いています。"
67+
68+#. type: Plain text
69+#: original/man1/which.1:38
70+msgid "This man page is generated from the file I<which.texinfo>."
71+msgstr "この man ページは I<which.texinfo> ファイルから生成されています。"
72+
73+#. type: SH
74+#: original/man1/which.1:38
75+#, no-wrap
76+msgid "OPTIONS"
77+msgstr "オプション"
78+
79+#. type: TP
80+#: original/man1/which.1:40
81+#, no-wrap
82+msgid "B<--all>, B<-a>"
83+msgstr "B<--all>, B<-a>"
84+
85+#. type: Plain text
86+#: original/man1/which.1:43
87+msgid "Print all matching executables in B<PATH>, not just the first."
88+msgstr ""
89+"B<PATH> 内に見つかった実行ファイルすべてを表示します。 "
90+"最初に見つかったもの以外も表示します。 "
91+
92+#. type: TP
93+#: original/man1/which.1:43
94+#, no-wrap
95+msgid "B<--read-alias>, B<-i>"
96+msgstr "B<--read-alias>, B<-i>"
97+
98+#. type: Plain text
99+#: original/man1/which.1:48
100+msgid ""
101+"Read aliases from stdin, reporting matching ones on stdout. This is useful "
102+"in combination with using an alias for which itself. For example"
103+msgstr ""
104+"標準入力からエイリアスを読み込んで、合致したものを標準出力します。 "
105+"これは which そのものを含む alias において、本オプションを合わせて利用すると便利です。 "
106+"たとえば以下です。"
107+
108+#. type: Plain text
109+#: original/man1/which.1:51
110+msgid "B<alias which=\\'alias | which -i\\'>."
111+msgstr "B<alias which=\\'alias | which -i\\'>."
112+
113+#. type: TP
114+#: original/man1/which.1:51
115+#, no-wrap
116+msgid "B<--skip-alias>"
117+msgstr "B<--skip-alias>"
118+
119+#. type: Plain text
120+#: original/man1/which.1:56
121+msgid ""
122+"Ignore option \\`--read-alias\\', if any. This is useful to explicity search "
123+"for normal binaries, while using the \\`--read-alias\\' option in an alias "
124+"or function for which."
125+msgstr ""
126+"\\`--read-alias\\' が指定されても無視します。 which に対するエイリアスや関数"
127+"の中で \\`--read-alias\\' オプションを利用している場合であっても、 明示的に通"
128+"常の実行ファイルを検索する場合に利用できます。"
129+
130+#. type: TP
131+#: original/man1/which.1:56
132+#, no-wrap
133+msgid "B<--read-functions>"
134+msgstr "B<--read-functions>"
135+
136+#. type: Plain text
137+#: original/man1/which.1:61
138+msgid ""
139+"Read shell function definitions from stdin, reporting matching ones on "
140+"stdout. This is useful in combination with using a shell function for which "
141+"itself. For example:"
142+msgstr ""
143+"標準入力からシェル関数定義を読み込んで、合致したものを標準出力します。 これは"
144+"which そのものを含むシェル関数において、本オプションを合わせて利用すると便利です。 "
145+"たとえば以下です。 "
146+
147+#. type: Plain text
148+#: original/man1/which.1:64
149+msgid "B<which() { declare -f | which --read-functions $@ }>"
150+msgstr "B<which() { declare -f | which --read-functions $@ }>"
151+
152+#. type: Plain text
153+#: original/man1/which.1:66
154+msgid "export -f which"
155+msgstr "export -f which"
156+
157+#. type: TP
158+#: original/man1/which.1:66
159+#, no-wrap
160+msgid "B<--skip-functions>"
161+msgstr "B<--skip-functions>"
162+
163+#. type: Plain text
164+#: original/man1/which.1:71
165+msgid ""
166+"Ignore option \\`--read-functions\\', if any. This is useful to explicity "
167+"search for normal binaries, while using the \\`--read-functions\\' option in "
168+"an alias or function for which."
169+msgstr ""
170+"\\`--read-functions\\' が指定されても無視します。 which に対するエイリアスや関数"
171+"の中で \\`--read-functions\\' オプションを利用している場合であっても、明示的に"
172+"通常の実行ファイルを検索する場合に利用できます。"
173+
174+#. type: TP
175+#: original/man1/which.1:71
176+#, no-wrap
177+msgid "B<--skip-dot>"
178+msgstr "B<--skip-dot>"
179+
180+#. type: Plain text
181+#: original/man1/which.1:74
182+msgid "Skip directories in B<PATH> that start with a dot."
183+msgstr ""
184+"B<PATH> 内のディレクトリにうち、ドットで始まるディレクトリは除外します。"
185+
186+#. type: TP
187+#: original/man1/which.1:74
188+#, no-wrap
189+msgid "B<--skip-tilde>"
190+msgstr "B<--skip-tilde>"
191+
192+#. type: Plain text
193+#: original/man1/which.1:78
194+msgid ""
195+"Skip directories in B<PATH> that start with a tilde and executables which "
196+"reside in the B<HOME> directory."
197+msgstr ""
198+"チルダで始まる B<PATH> 内のディレクトリ、および B<HOME> ディレクトリ内に存在"
199+"する実行ファイルは除外します。"
200+
201+#. type: TP
202+#: original/man1/which.1:78
203+#, no-wrap
204+msgid "B<--show-dot>"
205+msgstr "B<--show-dot>"
206+
207+#. type: Plain text
208+#: original/man1/which.1:83
209+msgid ""
210+"If a directory in B<PATH> starts with a dot and a matching executable was "
211+"found for that path, then print \"./programname\" rather than the full path."
212+msgstr ""
213+"B<PATH> 内にドットで始まるディレクトリがあって、合致した実行ファイルがその"
214+"中に見つかった場合には、フルパスでなく \"./programname\" と表示します。"
215+
216+#. type: TP
217+#: original/man1/which.1:83
218+#, no-wrap
219+msgid "B<--show-tilde>"
220+msgstr "B<--show-tilde>"
221+
222+#. type: Plain text
223+#: original/man1/which.1:88
224+msgid ""
225+"Output a tilde when a directory matches the B<HOME> directory. This option "
226+"is ignored when which is invoked as root."
227+msgstr ""
228+"ディレクトリが B<HOME> に合致した場合、チルダを表示します。 "
229+"このオプションは root ユーザーが実行した際には無視されます。 "
230+
231+#. type: TP
232+#: original/man1/which.1:88
233+#, no-wrap
234+msgid "B<--tty-only>"
235+msgstr "B<--tty-only>"
236+
237+#. type: Plain text
238+#: original/man1/which.1:91
239+msgid "Stop processing options on the right if not on tty."
240+msgstr "tty 上でない場合、この右側に指定されたオプションの実行を停止します。"
241+
242+#. type: TP
243+#: original/man1/which.1:91
244+#, no-wrap
245+msgid "B<--version,-v,-V>"
246+msgstr "B<--version,-v,-V>"
247+
248+#. type: Plain text
249+#: original/man1/which.1:95
250+msgid "Print version information on standard output then exit successfully."
251+msgstr "バージョン情報を標準出力して正常終了します。"
252+
253+#. type: TP
254+#: original/man1/which.1:95
255+#, no-wrap
256+msgid "B<--help>"
257+msgstr "B<--help>"
258+
259+#. type: Plain text
260+#: original/man1/which.1:99
261+msgid "Print usage information on standard output then exit successfully."
262+msgstr "利用方法を標準出力して正常終了します。"
263+
264+#. type: SH
265+#: original/man1/which.1:99
266+#, no-wrap
267+msgid "RETURN VALUE"
268+msgstr "返り値"
269+
270+#. type: Plain text
271+#: original/man1/which.1:102
272+msgid ""
273+"B<Which> returns the number of failed arguments, or -1 when no \\`programname"
274+"\\' was given."
275+msgstr ""
276+"B<which> は検索に失敗した引数の数を返します。 また \\`programname\\' が指定さ"
277+"れなかった場合は -1 を返します。"
278+
279+#. type: SH
280+#: original/man1/which.1:102
281+#, no-wrap
282+msgid "EXAMPLE"
283+msgstr "例"
284+
285+#. type: Plain text
286+#: original/man1/which.1:105
287+msgid ""
288+"The recommended way to use this utility is by adding an alias (C shell) or "
289+"shell function (Bourne shell) for B<which> like the following:"
290+msgstr ""
291+"このユーティリティーのお薦めの使い方は、 B<which> に対するエイリアス (C シェル) "
292+"やシェル関数 (Bourne シェル) を追加して利用する方法です。 "
293+"たとえば以下です。"
294+
295+#. type: Plain text
296+#: original/man1/which.1:107
297+msgid "[ba]sh:"
298+msgstr "[ba]sh の場合:"
299+
300+#. type: Plain text
301+#: original/man1/which.1:116
302+#, no-wrap
303+msgid ""
304+"which ()\n"
305+"{\n"
306+" (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\n"
307+"}\n"
308+"export -f which\n"
309+msgstr ""
310+"which ()\n"
311+"{\n"
312+" (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\n"
313+"}\n"
314+"export -f which\n"
315+
316+#. type: Plain text
317+#: original/man1/which.1:121
318+msgid "[t]csh:"
319+msgstr "[t]csh の場合:"
320+
321+#. type: Plain text
322+#: original/man1/which.1:126
323+#, no-wrap
324+msgid "alias which \\'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde\\'\n"
325+msgstr "alias which \\'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde\\'\n"
326+
327+#. type: Plain text
328+#: original/man1/which.1:133
329+msgid ""
330+"This will print the readable ~/ and ./ when starting which from your prompt, "
331+"while still printing the full path when used from a script:"
332+msgstr ""
333+"こうすることで、プロンプトから実行した場合には、見やすいように ~/ や ./ を出力します。 "
334+"スクリプトから利用した場合には、そのままフルパスで出力します。 "
335+
336+#. type: Plain text
337+#: original/man1/which.1:141
338+#, no-wrap
339+msgid ""
340+"E<gt> which q2\n"
341+"~/bin/q2\n"
342+"E<gt> echo \\`which q2\\`\n"
343+"/home/carlo/bin/q2\n"
344+msgstr ""
345+"E<gt> which q2\n"
346+"~/bin/q2\n"
347+"E<gt> echo \\`which q2\\`\n"
348+"/home/carlo/bin/q2\n"
349+
350+#. type: SH
351+#: original/man1/which.1:145
352+#, no-wrap
353+msgid "BUGS"
354+msgstr "バグ"
355+
356+#. type: Plain text
357+#: original/man1/which.1:151
358+msgid ""
359+"The B<HOME> directory is determined by looking for the B<HOME> environment "
360+"variable, which aborts when this variable doesn\\'t exist. B<Which> will "
361+"consider two equivalent directories to be different when one of them "
362+"contains a path with a symbolic link."
363+msgstr ""
364+"B<HOME> ディレクトリは、環境変数 B<HOME> を調べることで決定されますが、"
365+"この変数が存在しない場合には、その処理がキャンセルされます。"
366+"B<which> は 2 つの同等のディレクトリであっても、その 1 つにシンボリック"
367+"リンクを使ったパスが含まれている場合に、別のディレクトリと取り扱ってしまいます。"
368+
369+#. type: SH
370+#: original/man1/which.1:151
371+#, no-wrap
372+msgid "AUTHOR"
373+msgstr "著者"
374+
375+#. type: Plain text
376+#: original/man1/which.1:154
377+msgid "Carlo Wood E<lt>carlo@gnu.orgE<gt>"
378+msgstr "Carlo Wood E<lt>carlo@gnu.orgE<gt>"
379+
380+#. type: SH
381+#: original/man1/which.1:154
382+#, no-wrap
383+msgid "SEE ALSO"
384+msgstr "関連項目"
385+
386+#. type: Plain text
387+#: original/man1/which.1:155
388+msgid "B<bash(1)>"
389+msgstr "B<bash(1)>"
--- /dev/null
+++ b/manual/GNU_which/po4a/which.cfg
@@ -0,0 +1,6 @@
1+[po4a_langs] ja
2+[po4a_paths] po4a/which.pot $lang:po4a/$lang.po
3+
4+[type: man] original/man1/which.1 $lang:release/man1/which.1 \
5+ add_$lang:?po4a/add_$lang/copyright/which.1.txt \
6+ opt:"-o untranslated=rn -o groff_code=verbatim"
--- /dev/null
+++ b/manual/GNU_which/po4a/which.pot
@@ -0,0 +1,346 @@
1+# SOME DESCRIPTIVE TITLE
2+# Copyright (C) YEAR Free Software Foundation, Inc.
3+# This file is distributed under the same license as the PACKAGE package.
4+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+#
6+#, fuzzy
7+msgid ""
8+msgstr ""
9+"Project-Id-Version: PACKAGE VERSION\n"
10+"POT-Creation-Date: 2021-06-01 22:37+0900\n"
11+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13+"Language-Team: LANGUAGE <LL@li.org>\n"
14+"Language: \n"
15+"MIME-Version: 1.0\n"
16+"Content-Type: text/plain; charset=UTF-8\n"
17+"Content-Transfer-Encoding: 8bit\n"
18+
19+#. type: TH
20+#: original/man1/which.1:1
21+#, no-wrap
22+msgid "WHICH"
23+msgstr ""
24+
25+#. type: SH
26+#: original/man1/which.1:24
27+#, no-wrap
28+msgid "NAME"
29+msgstr ""
30+
31+#. type: Plain text
32+#: original/man1/which.1:26
33+msgid "which - shows the full path of (shell) commands."
34+msgstr ""
35+
36+#. type: SH
37+#: original/man1/which.1:26
38+#, no-wrap
39+msgid "SYNOPSIS"
40+msgstr ""
41+
42+#. type: Plain text
43+#: original/man1/which.1:29
44+msgid "B<which> [options] [--] programname [...]"
45+msgstr ""
46+
47+#. type: SH
48+#: original/man1/which.1:29
49+#, no-wrap
50+msgid "DESCRIPTION"
51+msgstr ""
52+
53+#. type: Plain text
54+#: original/man1/which.1:36
55+msgid ""
56+"B<Which> takes one or more arguments. For each of its arguments it prints to "
57+"stdout the full path of the executables that would have been executed when "
58+"this argument had been entered at the shell prompt. It does this by "
59+"searching for an executable or script in the directories listed in the "
60+"environment variable B<PATH> using the same algorithm as B<bash(1)>."
61+msgstr ""
62+
63+#. type: Plain text
64+#: original/man1/which.1:38
65+msgid "This man page is generated from the file I<which.texinfo>."
66+msgstr ""
67+
68+#. type: SH
69+#: original/man1/which.1:38
70+#, no-wrap
71+msgid "OPTIONS"
72+msgstr ""
73+
74+#. type: TP
75+#: original/man1/which.1:40
76+#, no-wrap
77+msgid "B<--all>, B<-a>"
78+msgstr ""
79+
80+#. type: Plain text
81+#: original/man1/which.1:43
82+msgid "Print all matching executables in B<PATH>, not just the first."
83+msgstr ""
84+
85+#. type: TP
86+#: original/man1/which.1:43
87+#, no-wrap
88+msgid "B<--read-alias>, B<-i>"
89+msgstr ""
90+
91+#. type: Plain text
92+#: original/man1/which.1:48
93+msgid ""
94+"Read aliases from stdin, reporting matching ones on stdout. This is useful "
95+"in combination with using an alias for which itself. For example"
96+msgstr ""
97+
98+#. type: Plain text
99+#: original/man1/which.1:51
100+msgid "B<alias which=\\'alias | which -i\\'>."
101+msgstr ""
102+
103+#. type: TP
104+#: original/man1/which.1:51
105+#, no-wrap
106+msgid "B<--skip-alias>"
107+msgstr ""
108+
109+#. type: Plain text
110+#: original/man1/which.1:56
111+msgid ""
112+"Ignore option \\`--read-alias\\', if any. This is useful to explicity search "
113+"for normal binaries, while using the \\`--read-alias\\' option in an alias "
114+"or function for which."
115+msgstr ""
116+
117+#. type: TP
118+#: original/man1/which.1:56
119+#, no-wrap
120+msgid "B<--read-functions>"
121+msgstr ""
122+
123+#. type: Plain text
124+#: original/man1/which.1:61
125+msgid ""
126+"Read shell function definitions from stdin, reporting matching ones on "
127+"stdout. This is useful in combination with using a shell function for which "
128+"itself. For example:"
129+msgstr ""
130+
131+#. type: Plain text
132+#: original/man1/which.1:64
133+msgid "B<which() { declare -f | which --read-functions $@ }>"
134+msgstr ""
135+
136+#. type: Plain text
137+#: original/man1/which.1:66
138+msgid "export -f which"
139+msgstr ""
140+
141+#. type: TP
142+#: original/man1/which.1:66
143+#, no-wrap
144+msgid "B<--skip-functions>"
145+msgstr ""
146+
147+#. type: Plain text
148+#: original/man1/which.1:71
149+msgid ""
150+"Ignore option \\`--read-functions\\', if any. This is useful to explicity "
151+"search for normal binaries, while using the \\`--read-functions\\' option in "
152+"an alias or function for which."
153+msgstr ""
154+
155+#. type: TP
156+#: original/man1/which.1:71
157+#, no-wrap
158+msgid "B<--skip-dot>"
159+msgstr ""
160+
161+#. type: Plain text
162+#: original/man1/which.1:74
163+msgid "Skip directories in B<PATH> that start with a dot."
164+msgstr ""
165+
166+#. type: TP
167+#: original/man1/which.1:74
168+#, no-wrap
169+msgid "B<--skip-tilde>"
170+msgstr ""
171+
172+#. type: Plain text
173+#: original/man1/which.1:78
174+msgid ""
175+"Skip directories in B<PATH> that start with a tilde and executables which "
176+"reside in the B<HOME> directory."
177+msgstr ""
178+
179+#. type: TP
180+#: original/man1/which.1:78
181+#, no-wrap
182+msgid "B<--show-dot>"
183+msgstr ""
184+
185+#. type: Plain text
186+#: original/man1/which.1:83
187+msgid ""
188+"If a directory in B<PATH> starts with a dot and a matching executable was "
189+"found for that path, then print \"./programname\" rather than the full path."
190+msgstr ""
191+
192+#. type: TP
193+#: original/man1/which.1:83
194+#, no-wrap
195+msgid "B<--show-tilde>"
196+msgstr ""
197+
198+#. type: Plain text
199+#: original/man1/which.1:88
200+msgid ""
201+"Output a tilde when a directory matches the B<HOME> directory. This option "
202+"is ignored when which is invoked as root."
203+msgstr ""
204+
205+#. type: TP
206+#: original/man1/which.1:88
207+#, no-wrap
208+msgid "B<--tty-only>"
209+msgstr ""
210+
211+#. type: Plain text
212+#: original/man1/which.1:91
213+msgid "Stop processing options on the right if not on tty."
214+msgstr ""
215+
216+#. type: TP
217+#: original/man1/which.1:91
218+#, no-wrap
219+msgid "B<--version,-v,-V>"
220+msgstr ""
221+
222+#. type: Plain text
223+#: original/man1/which.1:95
224+msgid "Print version information on standard output then exit successfully."
225+msgstr ""
226+
227+#. type: TP
228+#: original/man1/which.1:95
229+#, no-wrap
230+msgid "B<--help>"
231+msgstr ""
232+
233+#. type: Plain text
234+#: original/man1/which.1:99
235+msgid "Print usage information on standard output then exit successfully."
236+msgstr ""
237+
238+#. type: SH
239+#: original/man1/which.1:99
240+#, no-wrap
241+msgid "RETURN VALUE"
242+msgstr ""
243+
244+#. type: Plain text
245+#: original/man1/which.1:102
246+msgid ""
247+"B<Which> returns the number of failed arguments, or -1 when no "
248+"\\`programname\\' was given."
249+msgstr ""
250+
251+#. type: SH
252+#: original/man1/which.1:102
253+#, no-wrap
254+msgid "EXAMPLE"
255+msgstr ""
256+
257+#. type: Plain text
258+#: original/man1/which.1:105
259+msgid ""
260+"The recommended way to use this utility is by adding an alias (C shell) or "
261+"shell function (Bourne shell) for B<which> like the following:"
262+msgstr ""
263+
264+#. type: Plain text
265+#: original/man1/which.1:107
266+msgid "[ba]sh:"
267+msgstr ""
268+
269+#. type: Plain text
270+#: original/man1/which.1:116
271+#, no-wrap
272+msgid ""
273+"which ()\n"
274+"{\n"
275+" (alias; declare -f) | /usr/bin/which --tty-only --read-alias "
276+"--read-functions --show-tilde --show-dot $@\n"
277+"}\n"
278+"export -f which\n"
279+msgstr ""
280+
281+#. type: Plain text
282+#: original/man1/which.1:121
283+msgid "[t]csh:"
284+msgstr ""
285+
286+#. type: Plain text
287+#: original/man1/which.1:126
288+#, no-wrap
289+msgid ""
290+"alias which \\'alias | /usr/bin/which --tty-only --read-alias --show-dot "
291+"--show-tilde\\'\n"
292+msgstr ""
293+
294+#. type: Plain text
295+#: original/man1/which.1:133
296+msgid ""
297+"This will print the readable ~/ and ./ when starting which from your prompt, "
298+"while still printing the full path when used from a script:"
299+msgstr ""
300+
301+#. type: Plain text
302+#: original/man1/which.1:141
303+#, no-wrap
304+msgid ""
305+"E<gt> which q2\n"
306+"~/bin/q2\n"
307+"E<gt> echo \\`which q2\\`\n"
308+"/home/carlo/bin/q2\n"
309+msgstr ""
310+
311+#. type: SH
312+#: original/man1/which.1:145
313+#, no-wrap
314+msgid "BUGS"
315+msgstr ""
316+
317+#. type: Plain text
318+#: original/man1/which.1:151
319+msgid ""
320+"The B<HOME> directory is determined by looking for the B<HOME> environment "
321+"variable, which aborts when this variable doesn\\'t exist. B<Which> will "
322+"consider two equivalent directories to be different when one of them "
323+"contains a path with a symbolic link."
324+msgstr ""
325+
326+#. type: SH
327+#: original/man1/which.1:151
328+#, no-wrap
329+msgid "AUTHOR"
330+msgstr ""
331+
332+#. type: Plain text
333+#: original/man1/which.1:154
334+msgid "Carlo Wood E<lt>carlo@gnu.orgE<gt>"
335+msgstr ""
336+
337+#. type: SH
338+#: original/man1/which.1:154
339+#, no-wrap
340+msgid "SEE ALSO"
341+msgstr ""
342+
343+#. type: Plain text
344+#: original/man1/which.1:155
345+msgid "B<bash(1)>"
346+msgstr ""
--- /dev/null
+++ b/manual/GNU_which/translation_list
@@ -0,0 +1 @@
1+△:GNU which:2.21:2015/03/20:which:1:2021/07/05::michio_matsuyama@yahoo.co.jp:Michio MATSUYAMA: