arean / Porjay Public

Porjay: distributed version control and code hosting, built on Fossil SCM

Help: test-which

The "test-which" command:

Usage: porjay test-which ARGS...

For each argument, search the PATH for the executable with the name and print its full pathname.

See also the "which" command (without the "test-" prefix). The plain "which" command is more convenient to use since it provides the -a/-all option, and because it is shorter. The "porjay which" command without the "test-" prefix is recommended for day-to-day use. This command is retained because it tests the internal file_fullexename() function whereas plain "which" does not.