# 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: 2024-02-15 18:16+0100\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: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "WHICH" msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "which - shows the full path of (shell) commands." msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "B [options] [--] programname [...]" msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "B 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 B using the same algorithm as B." msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "This man page is generated from the file I." msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "OPTIONS" msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--all>, B<-a>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "Print all matching executables in B, not just the first." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--read-alias>, B<-i>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "Read aliases from stdin, reporting matching ones on stdout. This is useful " "in combination with using an alias for which itself. For example" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "B." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--skip-alias>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "Ignore option \\`--read-alias\\', if any. This is useful to explicity search " "for normal binaries, while using the \\`--read-alias\\' option in an alias " "or function for which." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--read-functions>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed 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:" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "B" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "export -f which" msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--skip-functions>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "Ignore option \\`--read-functions\\', if any. This is useful to explicity " "search for normal binaries, while using the \\`--read-functions\\' option in " "an alias or function for which." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--skip-dot>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "Skip directories in B that start with a dot." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--skip-tilde>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "Skip directories in B that start with a tilde and executables which " "reside in the B directory." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--show-dot>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "If a directory in B starts with a dot and a matching executable was " "found for that path, then print \"./programname\" rather than the full path." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--show-tilde>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "Output a tilde when a directory matches the B directory. This option " "is ignored when which is invoked as root." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--tty-only>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "Stop processing options on the right if not on tty." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--version,-v,-V>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "Print version information on standard output then exit successfully." msgstr "" #. type: TP #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "B<--help>" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "Print usage information on standard output then exit successfully." msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "B returns the number of failed arguments, or -1 when no " "\\`programname\\' was given." msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "EXAMPLE" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "The recommended way to use this utility is by adding an alias (C shell) or " "shell function (Bourne shell) for B like the following:" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "[ba]sh:" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, 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 #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "[t]csh:" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "alias which \\'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde\\'\n" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed 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: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "" "E which q2\n" "~/bin/q2\n" "E echo \\`which q2\\`\n" "/home/carlo/bin/q2\n" msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "" "The B directory is determined by looking for the B environment " "variable, which aborts when this variable doesn\\'t exist. B will " "consider two equivalent directories to be different when one of them " "contains a path with a symbolic link." msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "AUTHOR" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "Carlo Wood Ecarlo@gnu.orgE" msgstr "" #. type: SH #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux fedora-40 fedora-rawhide mageia-cauldron opensuse-leap-15-6 #: opensuse-tumbleweed msgid "B" msgstr ""