Boolean operations are also legal. (POSIX bc
does NOT have
boolean operations). The result of all boolean operations are 0 and 1
(for false and true) as in relational expressions. The boolean
operators are:
!expr
expr && expr
expr || expr
Go to the first, previous, next, last section, table of contents.