|
|
1.1 ! root 1: .\" @(#)units.1 6.1 (Berkeley) 4/29/85 ! 2: .\" ! 3: .TH UNITS 1 "April 29, 1985" ! 4: .AT 3 ! 5: .if n .ds / / ! 6: .if t .ds / \z/\h'\w'*'u' ! 7: .SH NAME ! 8: units \- conversion program ! 9: .SH SYNOPSIS ! 10: .B units ! 11: .SH DESCRIPTION ! 12: .I Units ! 13: converts quantities expressed ! 14: in various standard scales to ! 15: their equivalents in other scales. ! 16: It works interactively in this fashion: ! 17: .PP ! 18: .I " You have:" ! 19: inch ! 20: .br ! 21: .I " You want:" ! 22: cm ! 23: .br ! 24: .I " * 2.54000e+00 ! 25: .br ! 26: .I " \*/ 3.93701e\-01 ! 27: .PP ! 28: A quantity is specified as a multiplicative combination of ! 29: units optionally preceded by a numeric multiplier. ! 30: Powers are indicated by suffixed positive integers, ! 31: division by the usual sign: ! 32: .PP ! 33: .I " You have:" ! 34: 15 pounds force/in2 ! 35: .br ! 36: .I " You want:" ! 37: atm ! 38: .br ! 39: .I " * 1.02069e+00" ! 40: .br ! 41: .I " \*/ 9.79730e\-01" ! 42: .PP ! 43: .I Units ! 44: only does multiplicative scale changes. ! 45: Thus it can convert Kelvin to Rankine, but not Centigrade to ! 46: Fahrenheit. ! 47: Most familiar units, ! 48: abbreviations, and metric prefixes are recognized, ! 49: together with a generous leavening of exotica ! 50: and a few constants of nature including: ! 51: .PP ! 52: .nf ! 53: pi ratio of circumference to diameter ! 54: c speed of light ! 55: e charge on an electron ! 56: g acceleration of gravity ! 57: force same as g ! 58: mole Avogadro's number ! 59: water pressure head per unit height of water ! 60: au astronomical unit ! 61: .PP ! 62: .fi ! 63: `Pound' is a unit of ! 64: mass. ! 65: Compound names are run together, e.g. `lightyear'. ! 66: British units that differ from their US counterparts ! 67: are prefixed thus: `brgallon'. ! 68: Currency is denoted `belgiumfranc', `britainpound', ... ! 69: .PP ! 70: For a complete list of units, `cat /usr/lib/units'. ! 71: .SH FILES ! 72: /usr/lib/units ! 73: .SH BUGS ! 74: Don't base your ! 75: financial plans on the currency conversions.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.