Previous: Numeric tests, Up: test invocation


16.3.6 Connectives for test

The usual logical connectives.

! expr
True if expr is false.
expr1 -a expr2
True if both expr1 and expr2 are true.
expr1 -o expr2
True if either expr1 or expr2 is true.