UNITS(1) BSD Reference Manual UNITS(1)NAMEunits - convert among unitsSYNOPSISunitsDESCRIPTION
The units program prints conversion factors between two sets of units.
It reads two input lines and then prints the result:
you have: yard
you want: meter
* 9.144000e-01
/ 1.093613e+00
The first output line displays the constant to multiply the `have' quan-
tity by to obtain the `want quantity; the second shows the constant by
which to divide.
The units program knows about a number of units, including compound
units:
you have: 3600 rpm
you want: radian/sec
* 3.769911e+02
/ 2.652582e-03
you have: 65 mph
you want: furlongs/fortnight
* 1.747200e+05
/ 5.723443e-06
It also understands currency conversions, though they are only updated
occasionally. Currencies are specified by the name of the country fol-
lowed by an underscore followed by the name of the currency:
you have: 100 dollars
you want: zaire_zaire
* 2.652000e+08
/ 3.770739e-09
See a complete list of all units and conversions by reading the program
itself, which is a perl script.
COPYRIGHT
Copyright (c) 1993,1995 BSDI
All rights reserved.
BUGS
The program's conversion data has not been thoroughly tested.
While some conversion factors are relatively constant (e.g., the speed of
light), the currency conversion factors change on a daily basis.
BSDI BSD/OS March 8, 1993 1