Article View: comp.unix.shell
Article #4428Re: unix acronyms -collecting a list?
From: Eli the Bearded
Date: Mon, 19 May 1997 00:00
Date: Mon, 19 May 1997 00:00
37 lines
3389 bytes
3389 bytes
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);}
Technical Details
Message-ID:
<5lpp53$uh3$1@news.netusa.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,3d362ec564ebdcba X-Google-Attributes: gid1103af,public X-Google-Thread: 10eb3b,3d362ec564ebdcba X-Google-Attributes: gid10eb3b,public X-Google-Thread: faa64,3d362ec564ebdcba X-Google-Attributes: gidfaa64,public X-Google-Thread: 1012a6,3d362ec564ebdcba X-Google-Attributes: gid1012a6,public X-Google-Thread: f4bda,3d362ec564ebdcba X-Google-Attributes: gidf4bda,public X-Google-Thread: fa705,3d362ec564ebdcba X-Google-Attributes: gidfa705,public X-Google-Thread: 11035d,3d362ec564ebdcba X-Google-Attributes: gid11035d,public X-Google-Thread: 1025b4,3d362ec564ebdcba X-Google-Attributes: gid1025b4,public From: Eli the Bearded <usenet-tag@qz.little-neck.ny.us> Subject: Re: unix acronyms -collecting a list? Date: 1997/05/19 Message-ID: <5lpp53$uh3$1@news.netusa.net> X-Deja-AN: 242397048 Distribution: inet 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> X-Path-Preload: news.accessus.net preloaded to thwart rogue canceller there X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html> 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. Organization: Some absurd concept X-attribution: EtB 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 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 X-US-Congress: Moronic Fucks.