*BSD News Article 95999


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!192.239.17.140!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news.apfel.de!nntp.uio.no!uninett.no!news.uni-c.dk!news.uni-c.dk!news.ehs.dk!172.17.3.60
From: Kent Friis </dev/null@ehs.dk>
Newsgroups: comp.unix.shell,comp.os.linux.misc,comp.os.linux.x,alt.os.linux,comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc,gnu.misc.discuss,comp.unix.solaris,alt.fan.e-t-b
Subject: Re: unix acronyms -collecting a list?
Date: Fri, 23 May 1997 11:40:21 -0700
Organization: Esbjerg Business College
Lines: 30
Message-ID: <3385E495.5BC1@ehs.dk>
References: <5kd2ng$c8b$1@rzsun02.rrz.uni-hamburg.de> <5lii72$f0@sjx-ixn3.ix.netcom.com> <5lnfod$q8@news.inforamp.net> <5lpepe$8ca@info.service.rug.nl> <5lpp53$uh3$1@news.netusa.net>
NNTP-Posting-Host: mnemosyne.ehs.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win95; I; 16bit)
Xref: euryale.cc.adfa.oz.au comp.unix.shell:45351 comp.os.linux.misc:176676 comp.os.linux.x:62338 alt.os.linux:21510 comp.unix.bsd.misc:3390 comp.unix.bsd.freebsd.misc:41499 gnu.misc.discuss:31454 comp.unix.solaris:107413

Eli the Bearded wrote:
> 
> Basic Calculator is what I have heard. It is a "friendly" front end to
> the HP style dc (desk calculator). dc is a reverse polish notation
> (postfix stack) calculator, bc is an infix calculator. Compare:
> 
> :r! echo "502 / 65 + 17 * 4 ^ 3" | bc
> 1095
> 
> :r! echo "502 65 / 4 3 ^ 17 * + p" | dc
> 1095

Actually it should be:

$ echo "502 65 / 17 4 3 ^ * + p" | dc
1095

to be exactly the same as the bc version.

> 
> Both round to intergers by default.
> 

Kent

-- 
Anti spammer email: use "d5kf" instead of "/dev/null" 

You haven't seen _multitasking_ until you have seen
Doom and Quake run side by side.