ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
Hack:   Command Line Calculator
Subject:   Stupid
Date:   2005-02-21 18:43:51
From:   Inc_
Response to: Stupid

I'm from europe and don't really grok the "standards" system; I think in metric. With this
hack I can do thing like:

$ calc 5 feet + 5 inches in meters
1.65100 meters

$ calc 1 pint + 2 oz in liters
0.532323534 liters

Pure genius ;-)