On Fri, 26 Apr 1996, Dale Scheetz wrote:

> if [ a != b || c != d ]

|| is a list operator as in
        foo || bar
foo is executed.  bar is executed iff foo returns nonzero.

You want
        if [ a != b -o c != d ]
above.

I find the online help much more useful than the manpage.

Guy

Reply via email to