The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

which - Find and print the executable path(s)

VERSION

This document describes which ($Version$).

SYNOPSIS

which [<option(s)>] <filename(s)>

OPTIONS

--dosify, --dos, --winify, --win

"Dosify" output ( slashed/quoted appropriately for CMD or TCC )

TODO --msysify, --msys, --cygify, --cygwin

"MSYS"ify output ( convert to '/c/...' )

TODO --unixify, --unix

"Unixify" output ( slashed/quoted appropriately for SH or BASH )

TODO --auto

Choose --dos, --unix, or --msys depending on surrounding execution context

TODO --quoting-style=QUOTETYPE

Quoting style = QUOTETYPE (literal, shell, shell-always, c, escape) [ see LS.c and quoteargs.c code; see URLrefs: http://www.ss64.com/bash/ls.html ; http://linux.about.com/od/commands/l/blcmdl1_patch.htm ; http://www.gnu.org/software/coreutils/manual/html_node/What-information-is-listed.html ] [ modified by $ENV{QUOTING_STYLE} ]

TODO --shell=SHELLTYPE

Shell type = SHELLTYPE (auto [DEFAULT], dos / cmd / win / win32 / windows, msys / cygwin, unix / bash / sh ) [ modified by $ENV{QUOTING_STYLE} ]

--where, -w, --all, -a

Find and print <all> possible executable paths for the filename(s) given

--version
--usage
--help, -?
--man

Print the usual program information

REQUIRED ARGUMENTS

<filename(s)>

FILENAMES...

DESCRIPTION

which will read each FILENAME, find, and then print the executable path for the FILENAME.