Red Hat Bugzilla – Bug 463149
bc needs a ~/.bcrc to start
Last modified: 2008-09-23 07:29:32 EDT
Description of problem:
The calculator bc will not start unless ~/.bcrc exists
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Type: bc
It replies: File /home/addw/.bcrc is unavailable.
2. Type: > ~/.bcrc
and it starts correctly.
The file does not need to contain anything, it just seems to need to exist.
This is different from how bc used to act; what it should do is to just ignore if the .bcrc file does not exist. The manual page makes no reference to this file.
Weird, I cannot reproduce it on rhel or fedora. Could you attach as an attachment the output from "$ strace bc"? Thanks.
One million apologies ... I recently upgraded a machine after a hardware failure, my environment contained BC_ENV_ARGS=/home/addw/.bcrc to set scaling and I did not copy the file over.
Again: apologies for wasting your time :-(
Ok, so I'm closing this as NOABUG.