>>>>> "Tim" == Tim Van Holder <[EMAIL PROTECTED]> writes:

Tim> Yes and no. The reason we try to use 'test -x' is so that 'test
Tim> -x foo' will pick up foo.exe. I had not thought of this finding
Tim> directories (then again, I don't have . in my path). I agree this
Tim> is a serious problem; even with no '.'  in the PATH

Absolutely.

But I never read explicitly your environment also has this problem.
Has it, or has it not?  Because we can

Unix:
test -x && test -f

DOS says no to test -x directory
test -x && :

DOS says yes to test -x directory
test -x && test ! -d

Reply via email to