Re: Dubious parse in builtin 'test' command

2007-12-09 Thread Chet Ramey
Finn Wilcox wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: cygwin > Compiler: gcc > Compilation > CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' > -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/

Re: Dubious parse in builtin 'test' command

2007-12-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Finn Wilcox on 12/8/2007 7:34 AM: > $ test ! -a /dev/null ; echo $? > 0 > > $ /bin/test ! -a /dev/null ; echo $? > 1 > > The fourth case is surprising. > Is -a supposed to be equivalent to -e and why is