Erik Faye-Lund <[email protected]> writes:
>> Neither is which, no?
>
> Oooh, right. Thanks for noticing. So I guess I should try to run it
> instead. From the POSIX spec,...
If you assume POSIX.1, there is "type".
$ type frotz ; echo $?
frotz is /usr/games/frotz
0
$ type frobnitz ; echo $?
bash: type: frobnitz: not found
1
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html