The new c version of which(1) command does not handle file names with a '/' inside. $ cd /tmp $ env PATH=/usr/bin which ../bin/cat $ echo $? 1 It should returns: ../bin/cat
State Changed From-To: open->closed Revision 1.5 of which.c corrects this problem. Thanks.