[15697] in Athena Bugs
sun4 8.1.14: bc
daemon@ATHENA.MIT.EDU (Sara C Pickett)
Tue Nov 25 15:42:19 1997
To: bugs@MIT.EDU
Date: Tue, 25 Nov 1997 15:42:14 EST
From: Sara C Pickett <sarac@MIT.EDU>
System name: m37-318-10
Type and version: SPARC/5 8.1.14
Display type: cgthree
What were you trying to do?
run "bc -l bc.func", where bc.func is a file containing
any bc function. (Even an empty file shows this bug.
A file containing nothing but the line "1" will also work.)
What's wrong:
On this cluster machine, but _not_ on the sun dialups,
it exits immediately instead of loading the file and then
waiting for more commands from stdin. The problem doesn't
show up with just "bc -l" or just "bc bc.func", just when
I have both a filename and the -l flag.
What should have happened:
After loading the functions in the file, it should have
waited for me to type in further expressions, or "quit"
or ^D. Instead it exited immediatly without loading the
file.
Please describe any relevant documentation references:
man bc