# 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: 2023-01-21 10:25+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=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. type: settitle #: which.texi:4 #, no-wrap msgid "@command{which}: show full path of commands" msgstr "" #. type: include #: which.texi:5 #, no-wrap msgid "version.texi" msgstr "" #. type: dircategory #: which.texi:6 #, no-wrap msgid "System administration" msgstr "" #. type: menuentry #: which.texi:9 msgid "Which: (which)" msgstr "" #. type: menuentry #: which.texi:9 msgid "Show full path of commands." msgstr "" #. type: format #: which.texi:20 #, no-wrap msgid "" "This file documents `which' version 2.x@.\n" "\n" msgstr "" #. type: format #: which.texi:23 #, no-wrap msgid "" "Copyright @copyright{} 2000 - 2015, by\n" "\n" msgstr "" #. type: format #: 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 #: 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 #: which.texi:51 #, no-wrap msgid "Which" msgstr "" #. type: subtitle #: which.texi:52 #, no-wrap msgid "Show the full path of commands" msgstr "" #. type: subtitle #: which.texi:54 #, no-wrap msgid "Edition @value{EDITION}, for Which Version @value{VERSION}" msgstr "" #. type: subtitle #: which.texi:55 #, no-wrap msgid "@value{UPDATED}" msgstr "" #. type: author #: which.texi:57 #, no-wrap msgid "Carlo Wood <@email{carlo@@gnu.org}>" msgstr "" #. type: titlepage #: which.texi:62 msgid "Copyright @copyright{} 2000 - 2015, by" msgstr "" #. type: titlepage #: 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 #: which.texi:70 which.texi:95 which.texi:108 which.texi:126 which.texi:208 which.texi:217 which.texi:261 which.texi:273 which.texi:280 #, no-wrap msgid "Top" msgstr "" #. type: node #: which.texi:70 which.texi:93 which.texi:95 which.texi:108 #, no-wrap msgid "Which Program" msgstr "" #. type: node #: which.texi:70 #, no-wrap msgid "(dir)" msgstr "" #. type: top #: which.texi:71 #, no-wrap msgid "@command{which}: Show the full path of commands" msgstr "" #. type: ifinfo #: which.texi:79 msgid "The @command{which} program shows the full path of (shell) commands." msgstr "" #. type: ifinfo #: which.texi:82 msgid "" "This file documents @command{which} version @value{VERSION}, updated " "@value{UPDATED}." msgstr "" #. type: chapter #: which.texi:93 which.texi:96 #, no-wrap msgid "The @command{which} Program" msgstr "" #. type: node #: which.texi:93 which.texi:95 which.texi:108 which.texi:126 #, no-wrap msgid "Invoking Which" msgstr "" #. type: menuentry #: which.texi:93 msgid "How to invoke @command{which}" msgstr "" #. type: node #: which.texi:93 which.texi:108 which.texi:124 which.texi:126 which.texi:127 which.texi:208 #, no-wrap msgid "Option Summary" msgstr "" #. type: menuentry #: which.texi:93 msgid "Overview of commandline options" msgstr "" #. type: node #: which.texi:93 which.texi:126 which.texi:208 which.texi:209 which.texi:217 #, no-wrap msgid "Return Value" msgstr "" #. type: menuentry #: which.texi:93 msgid "The return value of @command{which}" msgstr "" #. type: node #: which.texi:93 which.texi:208 which.texi:217 which.texi:218 which.texi:261 #, no-wrap msgid "Example" msgstr "" #. type: menuentry #: which.texi:93 msgid "Examples of invokation" msgstr "" #. type: node #: which.texi:93 which.texi:217 which.texi:261 which.texi:262 which.texi:273 #, no-wrap msgid "Bugs" msgstr "" #. type: menuentry #: which.texi:93 msgid "Known bugs" msgstr "" #. type: node #: which.texi:93 which.texi:261 which.texi:273 which.texi:274 which.texi:280 #, no-wrap msgid "See Also" msgstr "" #. type: menuentry #: which.texi:93 msgid "Related UNIX commands" msgstr "" #. type: unnumbered #: which.texi:93 which.texi:273 which.texi:280 which.texi:282 #, no-wrap msgid "Index" msgstr "" #. type: cindex #: which.texi:97 #, no-wrap msgid "Description of @command{which}" msgstr "" #. type: Plain text #: 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 #: which.texi:109 which.texi:110 #, no-wrap msgid "Invoking @command{which}" msgstr "" #. type: cindex #: which.texi:111 #, no-wrap msgid "Synopsis" msgstr "" #. type: Plain text #: which.texi:115 msgid "The synopsis to invoke @command{which} is" msgstr "" #. type: example #: which.texi:119 #, no-wrap msgid "which [options] [--] programname [...]\n" msgstr "" #. type: menuentry #: which.texi:124 msgid "Option summary" msgstr "" #. type: cindex #: which.texi:128 #, no-wrap msgid "Options, command line" msgstr "" #. type: cindex #: which.texi:129 #, no-wrap msgid "Command line Options" msgstr "" #. type: cindex #: which.texi:130 #, no-wrap msgid "Overview of command line options" msgstr "" #. type: item #: which.texi:134 which.texi:136 #, no-wrap msgid "--all" msgstr "" #. type: itemx #: which.texi:135 which.texi:137 #, no-wrap msgid "-a" msgstr "" #. type: table #: which.texi:139 msgid "Print all matching executables in @env{PATH}, not just the first." msgstr "" #. type: item #: which.texi:140 which.texi:142 #, no-wrap msgid "--read-alias" msgstr "" #. type: itemx #: which.texi:141 which.texi:143 #, no-wrap msgid "-i" msgstr "" #. type: table #: 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 #: which.texi:149 which.texi:150 #, no-wrap msgid "--skip-alias" msgstr "" #. type: table #: 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 #: which.texi:155 which.texi:156 #, no-wrap msgid "--read-functions" msgstr "" #. type: table #: 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 #: which.texi:162 which.texi:163 #, no-wrap msgid "--skip-functions" msgstr "" #. type: table #: 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 #: which.texi:168 which.texi:169 #, no-wrap msgid "--skip-dot" msgstr "" #. type: table #: which.texi:171 msgid "Skip directories in @env{PATH} that start with a dot." msgstr "" #. type: item #: which.texi:172 which.texi:173 #, no-wrap msgid "--skip-tilde" msgstr "" #. type: table #: 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 #: which.texi:177 which.texi:178 #, no-wrap msgid "--show-dot" msgstr "" #. type: table #: 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 #: which.texi:183 which.texi:184 #, no-wrap msgid "--show-tilde" msgstr "" #. type: table #: 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 #: which.texi:189 which.texi:190 #, no-wrap msgid "--tty-only" msgstr "" #. type: table #: which.texi:192 msgid "Stop processing options on the right if not on tty." msgstr "" #. type: option{#1} #: which.texi:193 #, no-wrap msgid "--version" msgstr "" #. type: option{#1} #: which.texi:194 #, no-wrap msgid "-v" msgstr "" #. type: option{#1} #: which.texi:195 #, no-wrap msgid "-V" msgstr "" #. type: item #: which.texi:196 #, no-wrap msgid "--version, -v, -V" msgstr "" #. type: table #: which.texi:199 msgid "Print version information on standard output then exit successfully." msgstr "" #. type: item #: which.texi:200 which.texi:201 #, no-wrap msgid "--help" msgstr "" #. type: table #: which.texi:204 msgid "Print usage information on standard output then exit successfully." msgstr "" #. type: cindex #: which.texi:210 #, no-wrap msgid "Return value of @command{which}" msgstr "" #. type: Plain text #: which.texi:216 msgid "" "@command{Which} returns the number of failed arguments, or -1 when no " "@file{programname} was given." msgstr "" #. type: cindex #: which.texi:219 #, no-wrap msgid "Examples" msgstr "" #. type: cindex #: which.texi:220 #, no-wrap msgid "aliases, handling of" msgstr "" #. type: Plain text #: 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 #: which.texi:227 msgid "[ba]sh:" msgstr "" #. type: group #: 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 #: which.texi:239 msgid "[t]csh:" msgstr "" #. type: group #: 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 #: 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 #: which.texi:257 #, no-wrap msgid "" "> which q2\n" "~/bin/q2\n" "> echo `which q2`\n" "/home/carlo/bin/q2\n" msgstr "" #. type: cindex #: which.texi:263 #, no-wrap msgid "Bugs, known" msgstr "" #. type: Plain text #: 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} #: which.texi:279 msgid "bash(1)" msgstr ""