Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #197938

Re: Calculator with "tapes"

From Stefan Krusche <linux@stefan-krusche.de>
Newsgroups linux.debian.user
Subject Re: Calculator with "tapes"
Date 2018-07-23 13:20 +0200
Message-ID <weH2F-7bA-1@gated-at.bofh.it> (permalink)
References <wcf0R-61U-5@gated-at.bofh.it> <weyLL-1Io-1@gated-at.bofh.it> <weGT0-77R-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Montag 23 Juli 2018 schrieb Stefan Krusche:
> Am Montag 23 Juli 2018 schrieb Zenaan Harkness:
> > 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?

The problem is probably solved with Curt's and Greg's answers, but still to 
answer your question: ~/.bcrc is not a default config file for bc (sorry, 
didn't think about having it created on my own when I wrote my previous post) 
and is only read if you have "BC_ENV_ARGS=~/.bcrc" in your environment or as an 
argument to bc on the command line.

Kind regards,
Stefan

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Calculator with "tapes" Ken Heard <kenslists@teksavvy.com> - 2018-07-16 19:00 +0200
  Re: Calculator with "tapes" Joe <joe@jretrading.com> - 2018-07-16 19:10 +0200
    Re: Calculator with "tapes" Jude DaShiell <jdashiel@panix.com> - 2018-07-16 19:50 +0200
  Re: Calculator with "tapes" Boyan Penkov <boyan.penkov@gmail.com> - 2018-07-16 19:20 +0200
  Re: Calculator with "tapes" Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-07-16 19:20 +0200
  Re: Calculator with "tapes" Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-07-16 19:50 +0200
  Calculator with "tapes" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-07-16 20:00 +0200
  Re: Calculator with "tapes" Eric S Fraga <e.fraga@ucl.ac.uk> - 2018-07-16 23:10 +0200
  Re: Calculator with "tapes" Ben Caradoc-Davies <ben@transient.nz> - 2018-07-17 02:00 +0200
  Re: Calculator with "tapes" Zenaan Harkness <zenaan@freedbms.net> - 2018-07-17 02:20 +0200
    Re: Calculator with "tapes" Stefan Krusche <linux@stefan-krusche.de> - 2018-07-17 03:10 +0200
      Re: Calculator with "tapes" Curt <curty@free.fr> - 2018-07-17 11:20 +0200
        Re: Calculator with "tapes" Stefan Krusche <linux@stefan-krusche.de> - 2018-07-17 12:40 +0200
          Re: Calculator with "tapes" Curt <curty@free.fr> - 2018-07-17 13:40 +0200
            Re: Calculator with "tapes" Stefan Krusche <linux@stefan-krusche.de> - 2018-07-17 14:30 +0200
              Re: Calculator with "tapes" Curt <curty@free.fr> - 2018-07-17 14:50 +0200
                Re: Calculator with "tapes" Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-17 15:00 +0200
      Re: Calculator with "tapes" Zenaan Harkness <zenaan@freedbms.net> - 2018-07-23 04:30 +0200
        Re: Calculator with "tapes" Curt <curty@free.fr> - 2018-07-23 09:30 +0200
        Re: Calculator with "tapes" Stefan Krusche <linux@stefan-krusche.de> - 2018-07-23 13:10 +0200
          Re: Calculator with "tapes" Stefan Krusche <linux@stefan-krusche.de> - 2018-07-23 13:20 +0200
            Re: Calculator with "tapes" <tomas@tuxteam.de> - 2018-07-23 13:30 +0200
              Re: Calculator with "tapes" Stefan Krusche <linux@stefan-krusche.de> - 2018-07-23 13:50 +0200
          Re: Calculator with "tapes" <tomas@tuxteam.de> - 2018-07-23 13:30 +0200
  Re: Calculator with "tapes" Piotr <zaxonxp45@gmail.com> - 2018-07-17 07:30 +0200
  Re: Calculator with "tapes" John Darrah <xyllyx@gmail.com> - 2018-07-23 16:50 +0200

csiph-web