bc and default setup #commandline
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:
- Configure a newsreader¹ to connect to the server
- Open the newsgroup called
¹ Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).koldfront.dk
on port1119
using nntps (nntp over TLS).lantern.koldfront
and post a follow up to the article.Or, you can fill in this form: