[opensuse] Command line calculator?

2007-06-29 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know if there is a program for a command line calculator, and if so what it is called? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

Re: [opensuse] Command line calculator?

2007-06-29 Thread Bruce Smith
Does anyone know if there is a program for a command line calculator, and if so what it is called? If you want to use it in a script, check out expr. Otherwise, check out bc. - BS -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [opensuse] Command line calculator?

2007-06-29 Thread G T Smith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Jimerson wrote: Does anyone know if there is a program for a command line calculator, and if so what it is called? bash :-) try echo $((5+2)) echo $((7*6)) at CLI of course if you want trig and logs you need do a little work... - --

Re: [opensuse] Command line calculator?

2007-06-29 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Adam Jimerson [EMAIL PROTECTED] [06-29-07 15:49]: Does anyone know if there is a program for a command line calculator, and if so what it is called? Name: calc Relocations: (not relocatable) Version :

Re: [opensuse] Command line calculator?

2007-06-29 Thread sysadmin
command line interface for dos or unix/linux??? from Larry On Friday 29 June 2007 12:58, G T Smith wrote: Adam Jimerson wrote: Does anyone know if there is a program for a command line calculator, and if so what it is called? bash :-) try echo $((5+2)) echo $((7*6))

Re: [opensuse] Command line calculator?

2007-06-29 Thread Alexey Eremenko
Bash can't do floating-point calculations. Python is *the calculator* for the CLI. It has FP, and very hi-precision. -- -Alexey Eremenko Technologov -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]