Re:Interesting commands for the Linux shell
by xelxebar on Thursday September 14, 2017 @11:50AM
(#15249197)
Alternatively, you could use an alias:
and a .bcrc file:
Actually, this is what my .bcrc looks like:
[ Parent
| on HN ]
Re:Interesting commands for the Linux shell
by schoen on Thursday September 14, 2017 @12:31PM
(#15249605)
It's not nearly as flexible as bc overall, but GNU units has lots more constants built-in and also trig functions.
I checked and it has all of the ones that you mentioned, sometimes under slightly different names. I was surprised that e is defined the elementary charge rather than Euler's constant!