Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The most annoying part about bc is always having to type "scale=5" before you start otherwise it makes you think all your answers are integer.


"bc -l" runs it with scale set to 20. Also preloads some math functions.


The word "some" is definitely an exaggeration here.


Not on my bc. [1]

If it's missing anything you need, let me know.

[1]: https://git.gavinhoward.com/gavin/bc


Ooo, nice. Has there been any interest from any distros for including it in (for instance) Debian?


It's in some distros, but Debian for one has not been interested.

It's in Gentoo (can be selected as the main bc), Void, Alpine, and a few others. I think there's also a Nix package?

If someone's willing to go to bat for me to get it into Debian, I'll do the package myself.


What danadam said.

Also:

https://www.gnu.org/software/bc/manual/html_mono/bc.html#TOC...

Environment variables

BC_ENV_ARGS




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: