Node:search-exec, Next:, Previous:recursive-make, Up:Utility Manual



search-exec

The search-exec command search executable file and print it (if it exist). This command is used in the shell script instead of which command.

synopsis

	search-exec file

option

none

description

If the target file is found and it is executable, this command print the full path of the file. If the file is not found, this command print nothing and exit with error code 0.