[EMAIL PROTECTED] wrote:

> On Mon, 2 Nov 1998, Yogesh Kshatriya wrote:
>
> > Hello Friends
> >
> > Is there any command with the help of which I could do simple floating
> > point arithmetic at the command prompt itself
>
> I know of no actual command line calculator.  However, 'bc' (basic
> calculator) is close. In X-windows, it could be run in a separate window
> and used as needed.  It will accept somewhat "C-like" arithmetic
> statements interactively and produce arbitrary precision answers.  See the
> man pages for 'bc'.

Actually, there is a command called 'expr' which will do command line
computations. But I must say that I prefer 'bc'. 'expr' is useful if one has
to do computation in shell scripts.

Regards,
Kenneth

--
There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.



Reply via email to