command-line calculator?
Mark Terribile
materribile at yahoo.com
Sat Jun 26 01:25:46 PDT 2004
> > What simple built-in command-line tools are available if I want to
> > just do some simple math on the command line?
>
> Here are two possibilities:
>
> :~> man -k calculator
> bc(1) - An arbitrary precision calculator language
> dc(1) - an arbitrary precision calculator
Even simpler (at least in ksh or bash):
echo $((36 * 27))
(Of course, I'm one of those oddballs who not only CAN use dc(1), but likes
to.)
Mark Terribile
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
More information about the freebsd-questions
mailing list