which - Program finder
.which.result - Program path
which searches for the given program "progname" on the system path (set by the environment variable $PATH). If found the location is printed on the message line, otherwise an error message is printed and the command fails.
The variable .which.result is set to the last found program or the string "ERROR" if the program was not found.
which is a macro defined in tools.emf, it uses the &which(4) macro function.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2004/01/11
Generated On: 2006/10/07