bc and default setup #commandline

🕦︎ - 2005-12-19

After being annoyed with the fact that I had to type "scale=10" or similar every time I started bc(1), for quite a while, I finally looked at the source and made a custom package with the default being 10 (instead of 0).

Because sister dc(1) does explicitly handle a ~/.dcrc file, I looked a little closer, and realized that creating a ~/.bcrc and setting the environment variable BC_ENV_ARGS to "/home/asjo/.bcrc" works! No patching needed after all.

Add comment

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

¹ Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).

Or, you can fill in this form: