Bug 463149 - bc needs a ~/.bcrc to start
Summary: bc needs a ~/.bcrc to start
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: bc
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Zdenek Prikryl
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-22 10:39 UTC by Alain D D Williams
Modified: 2008-09-23 11:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-23 11:29:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alain D D Williams 2008-09-22 10:39:40 UTC
Description of problem:
The calculator bc will not start unless ~/.bcrc exists

Version-Release number of selected component (if applicable):
bc-1.06-21

How reproducible:
Every time.

Steps to Reproduce:
1. Type: bc
It replies: File /home/addw/.bcrc is unavailable.

2. Type: > ~/.bcrc
        bc
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.

Comment 1 Zdenek Prikryl 2008-09-23 10:44:09 UTC
Weird, I cannot reproduce it on rhel or fedora. Could you attach as an attachment the output from "$ strace bc"? Thanks.

Comment 2 Alain D D Williams 2008-09-23 11:05:12 UTC
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 :-(

Comment 3 Zdenek Prikryl 2008-09-23 11:29:32 UTC
Ok, so I'm closing this as NOABUG.


Note You need to log in before you can comment on or make changes to this bug.