Re:Integrated command line math
by scj on Tuesday July 23, 2013 @02:23PM
(#6091917)
I don't quite understand the argument against bc in this case. 'echo "5 + 5" | bc' doesn't leave the command line.
[ Parent
| on HN ]
Re:Integrated command line math
by harrytuttle on Tuesday July 23, 2013 @02:47PM
(#6092092)
bc is a little "obtuse". A bc replacement with BCD arithmetic and RPN entry would make me very happy :)
Actually, perhaps I should write one!
Re:Integrated command line math
by seryoiupfurds on Tuesday July 23, 2013 @03:06PM
(#6092225)
I think ``dc'' does what you want.
Re:Integrated command line math
by harrytuttle on Tuesday July 23, 2013 @03:59PM
(#6092534)
Wonderful! Thank you for posting. That's exactly what I wanted :)
Re:Integrated command line math
by danielcorin on Tuesday July 23, 2013 @02:32PM
(#6091981)
Just a different way of approaching the problem