On Tue, Jul 17, 2018 at 03:04:41AM +0200, Stefan Krusche wrote:
> Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness:
> > bc FTW - so quick, so handy
> >
> > First line I always run though is:
> >  scale=9
> 
> When you don't want to type this every time:
> 
> $ cat ~/.bcrc
> scale=3

OK, so I created ~/.bcrc, setting scale to 20:

$ cat ~/.bcrc
scale=20

BUT, when I run bc, I get:

$ bc
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software
Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
scale
0
^D


What am I doing wrong here?
TIA,

Reply via email to