packages icon
Fed up with the awful bc and dc commands supplied with every UNIX
system? Try version 1.02 of this program - calc. At long last - you can
type expressions in a "natural" BASIC-style syntax and get your answers out
quickly without having to learn Reverse Polish Notation or some other clumsy
syntax!

This code is freely re-distributable and modifiable.

Richard K. Lloyd <richard.lloyd@connectinternetsolutions.com>

To compile:

[Edit Makefile for your site, particularly the TREE setting]
gmake

To test:

./calc 1+2/3
[should output "1.66666666666667"]

To install:

gmake install

Notes:

* This package has no "original" URL other than the HP-UX archive one because
  one of its porters is the author.

* There are no functionality changes between calc 1.01 and 1.02, just edits
  to remove HP ANSI C compiler warnings.