* Looking for command line calculator
@ 1998-05-12 4:00 Pedro Saraiva
1998-05-12 4:00 ` Serguei Patchkovskii
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Pedro Saraiva @ 1998-05-12 4:00 UTC (permalink / raw)
Hi,
I'm looking for a command line calculator for my Digital Unix 4.0a box. Is
some source code available out there ? Thanks for any hints,
Pedro
--
"I've seen things you people wouldn't believe. Attack ships on fire
off the shoulder of Orion. I've watched C-beams glitter in the dark
near the Tannhauser Gate. All these memories will be lost in time,
like tears in rain. Time to die." -- Roy Baty
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Looking for command line calculator
1998-05-12 4:00 Looking for command line calculator Pedro Saraiva
@ 1998-05-12 4:00 ` Serguei Patchkovskii
1998-05-13 4:00 ` Brendan Welch, W1LPG
1998-05-13 4:00 ` Nikola Milutinovic
1998-05-13 4:00 ` Jeff Sullivan
2 siblings, 1 reply; 6+ messages in thread
From: Serguei Patchkovskii @ 1998-05-12 4:00 UTC (permalink / raw)
Pedro Saraiva (saraiva@siux00.physik.uni-siegen.de) wrote:
: I'm looking for a command line calculator for my Digital Unix 4.0a box. Is
: some source code available out there ? Thanks for any hints,
man dc bc
Regards,
/Serge.P
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Looking for command line calculator
1998-05-12 4:00 ` Serguei Patchkovskii
@ 1998-05-13 4:00 ` Brendan Welch, W1LPG
0 siblings, 0 replies; 6+ messages in thread
From: Brendan Welch, W1LPG @ 1998-05-13 4:00 UTC (permalink / raw)
In article <6j9v8k$nv6@ds2.acs.ucalgary.ca>, patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) writes:
> Pedro Saraiva (saraiva@siux00.physik.uni-siegen.de) wrote:
> : I'm looking for a command line calculator for my Digital Unix 4.0a box. Is
> : some source code available out there ? Thanks for any hints,
>
> man dc bc
>
> Regards,
>
> /Serge.P
There is a generally much better one than those. It is written in C;
I got it a long time ago to use on VMS, from ftp.wku.edu; I presume it
should work in Unix.
set default [.vms.fileserv] (akin to cd vms/fileserv)
get icalc.zip
--
Brendan Welch, system analyst, UMass-Lowell, W1LPG, welchb@woods.uml.edu
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Looking for command line calculator
1998-05-12 4:00 Looking for command line calculator Pedro Saraiva
1998-05-12 4:00 ` Serguei Patchkovskii
@ 1998-05-13 4:00 ` Nikola Milutinovic
1998-05-13 4:00 ` Jeff Sullivan
2 siblings, 0 replies; 6+ messages in thread
From: Nikola Milutinovic @ 1998-05-13 4:00 UTC (permalink / raw)
Pedro Saraiva wrote:
>
> Hi,
>
> I'm looking for a command line calculator for my Digital Unix 4.0a box. Is
> some source code available out there ? Thanks for any hints,
man expr
For instance,
EDNS:/# expr 2 + 5 * 4
22
EDNS:/#
> --
> "I've seen things you people wouldn't believe. Attack ships on fire
> off the shoulder of Orion. I've watched C-beams glitter in the dark
> near the Tannhauser Gate. All these memories will be lost in time,
> like tears in rain. Time to die." -- Roy Baty
Lovely.
Nix.
P.S. I'm not sure about brackets in expr, should work though.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Looking for command line calculator
1998-05-12 4:00 Looking for command line calculator Pedro Saraiva
1998-05-12 4:00 ` Serguei Patchkovskii
1998-05-13 4:00 ` Nikola Milutinovic
@ 1998-05-13 4:00 ` Jeff Sullivan
1998-05-13 4:00 ` Charles M Richmond
2 siblings, 1 reply; 6+ messages in thread
From: Jeff Sullivan @ 1998-05-13 4:00 UTC (permalink / raw)
See man bc and man dc.
For simple calculations, I used this alias:
alias bc "bc -l /usr/lib/lib.b"
-Jeff
--
Jeff Sullivan | Digital Equipment Corp | E-mail: jps@zk3.dec.com
DEC C and C++ | Nashua, NH ZK3-2/2X29 | sullivan@decc.enet.dec.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Looking for command line calculator
1998-05-13 4:00 ` Jeff Sullivan
@ 1998-05-13 4:00 ` Charles M Richmond
0 siblings, 0 replies; 6+ messages in thread
From: Charles M Richmond @ 1998-05-13 4:00 UTC (permalink / raw)
Jeff Sullivan wrote:
>
> See man bc and man dc.
>
> For simple calculations, I used this alias:
>
> alias bc "bc -l /usr/lib/lib.b"
>
Hi Jeff;
I'll bite... What does "bc -l /usr/lib/lib.b" get you that "bc -l"
doesn't do?
Charlie
--
***********************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net *
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W *
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 *
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 *
***********************************************************************
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-05-13 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-12 4:00 Looking for command line calculator Pedro Saraiva
1998-05-12 4:00 ` Serguei Patchkovskii
1998-05-13 4:00 ` Brendan Welch, W1LPG
1998-05-13 4:00 ` Nikola Milutinovic
1998-05-13 4:00 ` Jeff Sullivan
1998-05-13 4:00 ` Charles M Richmond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox