Hacker News new | ask | show | jobs
by BozeWolf 1910 days ago
What is wrong with “bc” ;-) half joking, anybody else who uses bc? I am by no means an expert, just using the regular add/multiply and sometimes a variable.

This looks way better though.

5 comments

This is what I do. I do it so frequently that I have a small script `b` so that I can `b 'l(156)'` or just type `b` to get a shell with the match library loaded. Seems funny to alias a 2 char command but I often prefer passing the expression on the command line.
I alias ‘clear’ to ‘c’ because I use it so often and have to immediately set it up on any new machine.
Try control-l
I use "irb" (interactive ruby), installed by default on MacOS and there is always terminal window open somewhere anyway. Will give Numi a try though.
I use bc too. Like literally every day. And it's only a terminal window away. I did install Numi now though and I like it!
my favorite calculator app is emacs's calc-mode, it is probably one of the nicest RPN calculators on desktop
It's my go-to calc too but I always start 'bc -l' in case I need decimals.
I also just type bc -l in one of my iterm windows. Usually that gets me my answer quicker than launching an app or worse, using a browser.