svn commit: r225596 - head/usr.bin/units

David Malone dwmalone at FreeBSD.org
Thu Sep 15 19:52:44 UTC 2011


Author: dwmalone
Date: Thu Sep 15 19:52:43 2011
New Revision: 225596
URL: http://svn.freebsd.org/changeset/base/225596

Log:
  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

Modified:
  head/usr.bin/units/units.1

Modified: head/usr.bin/units/units.1
==============================================================================
--- head/usr.bin/units/units.1	Thu Sep 15 17:22:38 2011	(r225595)
+++ head/usr.bin/units/units.1	Thu Sep 15 19:52:43 2011	(r225596)
@@ -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


More information about the svn-src-head mailing list