pwhich

Langue: en

Autres versions - même langue

Version: 2002-06-24 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

pwhich - Perl-only `which'

Synopsis

   $ pwhich perl
   $ pwhich -a perl          # print all matches
   $ pwhich perl perldoc ... # look for multiple programs
   $ pwhich -a perl perldoc ...
 
 

DESCRIPTION

`pwhich' is a command-line utility program for finding paths to other programs based on the user's "PATH". It is similar to the usualy Unix tool `which', and tries to emulate its functionality, but is written purely in Perl (uses the module "File::Which"), so is portable.

Calling syntax

   $ pwhich [-a] [-v] programname [programname ...]
 
 

Options

-a
The option -a will make "pwhich" print all matches found in the "PATH" variable instead of just the first one. Each match is printed on a separate line.
-v
Prints version (of "File::Which") and copyright notice and exits.

License

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See Also

perl, File::Which, which(1)

Author

Per Einar Ellefsen, <per.einar (at) skynet.be>