Homepage > Man Pages > Category > General Commands
Homepage > Man Pages > Name > W


man page of whiff

whiff: like which, but finds the first of all the given alternatives


whiff - like which, but finds the first of all the given alternatives


whiff <command ... >
which 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.
Please report any bugs or feature requests through the web interface at <//rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


Copyright 2008, Ricardo SIGNES. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. WHIFF(1)

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 33.09ms.

brauchbar.de | dfptutorial.com | get-ip.de