Google Calculator from the Command Line

Jeff Mancuso August 21st, 2007

I found this the other day – a command line version of Google Calculator. Very cool!

$ gcalc
gcalc version 0.1 by Greg Miller
Usage: gcalc [-d]
example:  gcalc "5+2*2"
example:  gcalc 5!
example:  gcalc "sqrt(-4)"
example:  gcalc "160 pounds * 4000 feet in calories"
example:  gcalc avogadros number
example:  gcalc 0b110111010 + 0x33 in decimal
example:  gcalc 22 lira in yen
example:  gcalc 2 to the power of 5

Tags:

Leave a Reply

Subscribe:

Add to Google
RSS
Try ExpanDrive

If you’ve heard of SSH then you need ExpanDrive.