This is the command whiffp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
whiff - like which, but finds the first of all the given alternatives
VERSION
version 0.005
DESCRIPTION
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.
USAGE
whiff <command ... >
Use whiffp online using onworks.net services