Hacker News new | ask | show | jobs
by 4878241143 808 days ago
why not just use bc?
2 comments

You have to be at least 41 years old to remember that bc exists in the first place.
bc is the new thing. dc forever!

(Though "modern" dc and bc are typically packaged together now.)

I'm less than 41, and I wrote a bc!
Here is a setup I use to make `bc` more handy if you don't know how many computations you want to do in advance:

    alias bb='bc -l <<X'
Now enter calculations and assignments one per line and enter X to exit.