Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2011 19:52:43 +0000 (UTC)
From:      David Malone <dwmalone@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225596 - head/usr.bin/units
Message-ID:  <201109151952.p8FJqhWv087486@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109151952.p8FJqhWv087486>