On 2018-07-23, Zenaan Harkness <zen...@freedbms.net> wrote:
>
> BUT, when I run bc, I get:

bc -l

(like Greg said works here).


curty@einstein:~$ bc -l
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
20

curty@einstein:~$ 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

I believe 20 is the default scale, so your .bcrc might express the principle
of superfluity rather than anything else.

> $ 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,
>
>


-- 
Boris sober and Boris drunk are such different people, they’ve never even met. 
-- Sergei Dovlatov, Pushkin Hills

Reply via email to