|
dc
Desk calculator
SYNTAX dc <options> OPTIONS -e EXPR --expression=EXPR Evaluate EXPR as DC commands. -f FILE --file=FILE Read and evaluate DC commands from FILE. -h --help Print a usage message summarizing the command-line options, then exit. -V --version Print the version information for this program, then exit. To exit, use `q'.
DESCRIPTION
The desk calculator works with postfix notation; rather like many HP Calculators.
Basic arithmetic uses the standard + - / * symbols but entered after
the digits
so entering:
100
0.5
*
p
will return 50
"The best way to destroy the capitalist system is to debauch the currency"
- John
Keynes
Related commands:
cal - Display a calendar
expr - Evaluate expressions
factor - Print prime factors
units - Convert units from one scale to another
wc - Print byte, word, and line counts