which - Program finder
.which.result - Program path
which "progname"
.which.result "string"
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.
(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12