Units
I was recently reminded of the excellent ‘units’ program, available with all good Unix systems.
Units will convert quantities expressed in one unit in to another unit. Here’s an example:
$ units
2439 units, 71 prefixes, 33 nonlinear units
You have: 12 miles
You want: kilometres
* 19.312128
[...]