Query: whiff
OS: debian
Section: 1p
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WHIFF(1p) User Contributed Perl Documentation WHIFF(1p)NAMEwhiff - like which, but finds the first of all the given alternativesUSAGEwhiff <command ... >DESCRIPTIONwhich is a useful utility, found on most unix systems. It gives you the absolute path for the first occurance of a program in your path. Unfortunately, it does two stupid things: first, if it can't find one, it prints an error message to stdout; secondly, if you give it multiple arguments, it assumes you want one line per argument, each like calling which individually. whiff assumes that all the arguments form a best-first list of alternatives, and only prints the path to the first alternative found in the path. If none is found, it prints an error (to stderr!) and exits with an error code.BUGSPlease report any bugs or feature requests through the web interface at <http://rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.COPYRIGHTCopyright 2008, Ricardo SIGNES. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2008-06-23 WHIFF(1p)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Is UNIX an open source OS ? |
Introduction |
A (ksh) Library For and From UNIX.com |
My first PERL incarnation... Audio Oscillograph |