Y
Hacker News
new
|
ask
|
show
|
jobs
by
4878241143
808 days ago
why not just use bc?
2 comments
jhgb
808 days ago
You have to be at least 41 years old to remember that bc exists in the first place.
link
cbm-vic-20
808 days ago
bc is the new thing. dc forever!
(Though "modern" dc and bc are typically packaged together now.)
link
gavinhoward
807 days ago
I'm less than 41, and I
wrote
a bc!
link
ykonstant
808 days ago
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.
link