summaryrefslogtreecommitdiffstats
path: root/usr.bin/units/units.1
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2011-09-15 19:52:43 +0000
committerdwmalone <dwmalone@FreeBSD.org>2011-09-15 19:52:43 +0000
commit4ad48ef95902789f7305abbd05feb70e019fa74a (patch)
tree1d53045a75fcaa0c45054ea5182946e870d51a28 /usr.bin/units/units.1
parente6011fb6bc29d6740516409bd2963015c583c2e9 (diff)
downloadFreeBSD-src-4ad48ef95902789f7305abbd05feb70e019fa74a.zip
FreeBSD-src-4ad48ef95902789f7305abbd05feb70e019fa74a.tar.gz
It seems when I added code for affine unit changes to units, I
forgot to tell the man page we could now convert Celsius to Fahrenheit. Approved by: re (kib) MFC after: 1 month
Diffstat (limited to 'usr.bin/units/units.1')
-rw-r--r--usr.bin/units/units.18
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/units/units.1 b/usr.bin/units/units.1
index 96b84d6..505552a 100644
--- a/usr.bin/units/units.1
+++ b/usr.bin/units/units.1
@@ -35,9 +35,7 @@ their equivalents in other scales.
The
.Nm
program can only
-handle multiplicative scale changes.
-It cannot convert Celsius
-to Fahrenheit, for example.
+handle multiplicative or affine scale changes.
It works interactively by prompting
the user for input:
.Bd -literal
@@ -60,6 +58,10 @@ the user for input:
You want: cm
* 1.27
/ 0.78740157
+
+ You have: 85 degF
+ You want: degC
+ 29.444444
.Ed
.Pp
Powers of units can be specified using the '^' character as shown in
OpenPOWER on IntegriCloud