units.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 84 行

1
84
字号
.\" SCCSID: @(#)units.1	8.1	9/11/90.if n .ds / /.if t .ds / \z/\h'\w'*'u'.TH units 1 "" "" Unsupported.SH Nameunits \- conversion program.SH Syntax.B units.SH DescriptionThe.PN unitscommandconverts quantities expressedin various standard scales totheir equivalents in other scales.It works interactively in this fashion:.PP.I "	You have:"inch.br.I "	You want:"cm.br.I "		* 2.54000e+00.br.I "		\*/ 3.93701e\-01.PPA quantity is specified as a multiplicative combination ofunits optionally preceded by a numeric multiplier.Powers are indicated by suffixed positive integers,division by the usual sign:.PP.I "	You have:"15 pounds force/in2.br.I "	You want:"atm.br.I "		* 1.02069e+00".br.I "		\*/ 9.79730e\-01".PPThe.PN units command only does multiplicative scale changes.Thus it can convert Kelvin to Rankine, but not Centigrade toFahrenheit.Most familiar units,abbreviations, and metric prefixes are recognized,together with a generous leavening of exoticaand a few constants of nature including:.PP.nf	pi	ratio of circumference to diameter	c	speed of light	e	charge on an electron	g	acceleration of gravity 	force	same as g	mole	Avogadro's number	water	pressure head per unit height of water	au	astronomical unit.PP.fi`Pound' is a unit ofmass.Compound names are run together, for example, `lightyear'.British units that differ from their US counterpartsare prefixed thus: `brgallon'.Currency is denoted `belgiumfranc', `britainpound', ....PPIf .PN unitsis used with no arguments, it will use .PN /usr/lib/unitsto define the units and the conversions that it knows about.When.I fileis supplied, it will be used to define the units and conversions that .PN unitswill recognize..SH Files.PN /usr/lib/units

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?