koldfront

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?

Title:

Name:

Email (won't be displayed online):

Text:

0.0166 s
webcustodian@koldfront.dk