Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy From: andy@CSVAX.CALTECH.EDU (Andy Fyfe) Newsgroups: gnu.bash.bug Subject: precedence of -a over -o in bash-0.99 test Message-ID: <8906132331.AA09653@csvax.caltech.edu> Date: 13 Jun 89 23:31:31 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 9 bash$ if [ x -o y -a "" ]; then echo yes; else echo no; fi no bash$ enable -n [ bash$ if [ x -o y -a "" ]; then echo yes; else echo no; fi yes test(1) is advertised as giving precedence to -a over -o. Bash should do the same.