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