Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!uokmax!bateman From: bateman@nsslsun.gcn.uoknor.edu (Monte Bateman) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Make a simple command-line calculator with 4DOS Message-ID: <1991Mar22.070928.16153@uokmax.ecn.uoknor.edu> Date: 22 Mar 91 07:09:28 GMT References: <39585@netnews.upenn.edu> Sender: news@uokmax.ecn.uoknor.edu (Nets) Organization: National Severe Storms Laboratory Lines: 18 In article <39585@netnews.upenn.edu> jrv@gradient.cis.upenn.edu (JR VanMechelen) writes: >While it's not bc, I just realized that you can make a quick and dirty >commmand-line calculator using 4dos with the following alias: > > alias bc=`echo %@eval[%&]%` That alias was included in the "aliases" file, called 'calc'. Only problem is, it blows up if you try it with floats :-(. > any other neat aliases? The JP Software newsletter had lots of nifty hacks.... ----- Monte Bateman bateman @ nsslsun.gcn.uoknor.edu National Severe Storms Laboratory, Norman, OK! 73069