5 ms·
I don't quite understand the argument against bc in this case. 'echo "5 + 5" | bc' doesn't leave the command line.
by scj 13y ago
I don't quite understand the argument against bc in this case. 'echo "5 + 5" | bc' doesn't leave the command line.
- danielcorin 13y agoJust a different way of approaching the problem
- harrytuttle 13y agobc is a little "obtuse". A bc replacement with BCD arithmetic and RPN entry would make me very happy :) Actually, perhaps I should write one!
- seryoiupfurds 13y agoI think ``dc'' does what you want.
- harrytuttle 13y agoWonderful! Thank you for posting. That's exactly what I wanted :)