2 ms·
bc = Belinda's Calculator. Apparently named after Belinda Cherry. [1]; i don't know who that is, but i assume she needed to do arithmetic on a unix machine a lo
by twic 8y ago
bc = Belinda's Calculator. Apparently named after Belinda Cherry. [1]; i don't know who that is, but i assume she needed to do arithmetic on a unix machine a long time ago.
There's an older unix calculator called dc, for desk calculator; dc uses reverse-Polish, so it's a pain to use if you didn't grow up using those weird old HP calculators (or writing Forth). My understanding is that bc began as a shell script which would translate infix expressions into RPN and pass them to dc.
These days, if i want to do sums, i fire up a Python interpreter, or just plug them into a Google search box or Firefox address bar. But back in the day, i would use bc.
[1] http://shannon.usu.edu.ru/Langs/LangList/Langs/B/Bc.htm http://shannon.usu.edu.ru/Langs/LangList/Langs/B/Bc.htm
- vram22 8y agoYes, bc is useful. You can even pipe standard input into bc, and get the results of the calculations on standard output. bc -l used to be the invocation I used a lot. I do that Google thing myself nowadays too :) They can even give answers to factorial(n) and the like. Found that recently. Wouldn't be surprised if a lot more too.