On 13 Sep 99, Francesco Potorti` <[EMAIL PROTECTED]> wrote:
>    $ test -d /tmp/ ; echo $?
>    test: not found
>    127
>    
>    I think I see what's happening now.  The PATH is being emptied, and
>    `test' therefore isn't found.  It is located in /bin/ on that machine,
>    and isn't built into the shell.  Could that be the problem?
> 
> Sure.  Is `[' built in?  If not, then one should use /bin/test or
> /usr/bin/test.  On my Debian system, it's the latter.

Nope, neither is built in.  [ is /usr/bin/[ and test is /bin/test.  For
those systems with the `which' command, these should be pretty easy to
find.

-- 
# Erik Arneson      [EMAIL PROTECTED]    Webring Software Engineer #
# Yahoo! Inc.      PGP ID: 2048/84413E19        (541) 482-3000x114 #
# "There's such a fine line between stupid and clever." Spinal Tap #

Reply via email to