*BSD News Article 95759


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!news.netspace.net.au!news.mira.net.au!pumpkin.pangea.ca!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!feed1.news.erols.com!news1.netusa.net!qz!news.accessus.net!not-for-mail
From: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
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: 19 May 1997 14:46:59 GMT
Organization: Some absurd concept
Lines: 36
Distribution: inet
Message-ID: <5lpp53$uh3$1@news.netusa.net>
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>
NNTP-Posting-Host: alpha.netusa.net
X-Path-Preload: news.accessus.net preloaded to thwart rogue canceller there
X-From-Notes: This is sent from a valid but tagged return address. Failure
	to include an "Re:" in the subject may cause reply mail to bounce.
X-US-Congress: Moronic Fucks.
X-attribution: EtB
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Acceptable-Email-Policy: for rules about sending mail to this account see:
	<URL:ftp://ftp.netusa.net/users/eli/email.txt> -- plain text;
	<URL:http://www.netusa.net/~eli/email.html> -- html format; or
	<URL:mailto:email-policy@qz.little-neck.ny.us> -- autoresponse
Xref: euryale.cc.adfa.oz.au comp.unix.shell:45208 comp.os.linux.misc:176131 comp.os.linux.x:62009 alt.os.linux:21405 comp.unix.bsd.misc:3337 comp.unix.bsd.freebsd.misc:41257 gnu.misc.discuss:31386 comp.unix.solaris:106917

Peter Smulders  <P.J.M.Smulders@phys.rug.nl> wrote:
>Lawrence Cragg <Cragg@Inforamp.Net> wrote:
>> > In article <337A003F.6A7B@ncofsi.com>, jbodarky@ncofsi.com wrote:
>> > >bc = * I think i read somewhere that this is Berkeley Calculator, but
>> > >        that doesn't make sense.  ANY IDEAS?

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

Both round to intergers by default.

>> Somewhere I've seen bc as a command meaning "beautify C" (I'm serious!)

You are thinking of the c beautifer.

>I don't doubt your seriousness, but the command you are thinking of
>is 'cb' not 'bc'. It is still around on HP-UX, although I would
>not recommend its use. It not only beautifies the layout but also
>leaves out parts of the code it considers redundant!

Heh. I tried it and didn't like it so I never noticed that. Of course,
I fed some really ugly code into it in the first place.

Elijah
------                                       /* gcc signature.c -lm */
main(){int i,j,k,l;for(i=-12;i<13;i++,printf("\e[H")){for(l=141596885;
l>8;l>>=4)p(97-(l>>22)+(l&15));for(j=-12;j<12;){for(k=j+12?-12:-6;12>k
;)p((l=k*k+++i*i+j*j)<144?(l=sqrt(l))[".,:;iIJYVSOM"]:32);j++<11?p(10)
:0;}}puts("Elijah: e@qz.little-neck.ny.us");}p(int m){printf("%c",m);}