bc(1) | bc(1) |
WARNINGS
There are currently no && (AND) or (OR) comparisons.
The for statement must have all three expressions.
quit is interpreted when read, not when executed.
bc's parser is not robust in the face of input errors. Some simple expression such as 2+2 helps get it back into phase.
The assignment operators: =+ =- =* =/ | =% and =Ã are obsolete. Any occurences of these |
operators cause a syntax error with the exception of | =- which is interpreted as = followed by a unary |
minus. |
|
Neither entire arrays nor functions can be passed as function parameters.
FILES | desk calculator executable program |
/usr/bin/dc | |
/usr/lib/lib.b | mathematical library |
SEE ALSO bs(1), dc(1).
bc tutorial in Number Processing Users Guide
STANDARDS CONFORMANCE bc: XPG4, POSIX.2
b
− 3 − | Section 1−43 |