Name
units
Synopsis
units [options]
Interactively supply a formula to convert a number from one unit to
another. A complete list of the units can be found in
/usr/share/misc/units.lib
.
Options
-
-f
filename
Use the units data in filename.
-
-q
The prompts for “you have” and “you want” will not appear.
-
-v
The version of
units
is listed.-
[
have-unit want-unit
]
A unit conversion can be entered from the command line instead of using the interactive interface.
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.