=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/units/units.1,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/units/units.1 2011/10/06 19:58:47 1.23 --- src/usr.bin/units/units.1 2011/10/08 20:41:12 1.24 *************** *** 1,4 **** ! .\" $OpenBSD: units.1,v 1.23 2011/10/06 19:58:47 jmc Exp $ .\" converted to new format by deraadt@openbsd.org .\" .\" Copyright (c) 1993 by Adrian Mariano (adrian@cam.cornell.edu) --- 1,4 ---- ! .\" $OpenBSD: units.1,v 1.24 2011/10/08 20:41:12 jmc Exp $ .\" converted to new format by deraadt@openbsd.org .\" .\" Copyright (c) 1993 by Adrian Mariano (adrian@cam.cornell.edu) *************** *** 16,22 **** .\" I would appreciate (though I do not require) receiving a copy of any .\" improvements you might make to this program. .\" ! .Dd $Mdocdate: October 6 2011 $ .Dt UNITS 1 .Os .Sh NAME --- 16,22 ---- .\" I would appreciate (though I do not require) receiving a copy of any .\" improvements you might make to this program. .\" ! .Dd $Mdocdate: October 8 2011 $ .Dt UNITS 1 .Os .Sh NAME *************** *** 38,44 **** It cannot convert Celsius to Fahrenheit, for example. It also does not handle logarithmic units such as bels. ! It works interactively by prompting the user for input: .Bd -literal -offset indent You have: meters You want: feet --- 38,46 ---- It cannot convert Celsius to Fahrenheit, for example. It also does not handle logarithmic units such as bels. ! .Pp ! .Nm ! works interactively by prompting the user for input: .Bd -literal -offset indent You have: meters You want: feet *************** *** 51,56 **** --- 53,62 ---- / 3785.4118 .Ed .Pp + That is, one meter equals roughly 3.28 feet + (or, conversely, one foot is roughly equal to 0.3 meters), + and one gallon is roughly equal to 3785 cubic cm. + .Pp The .Nm program can handle numbers as well: *************** *** 60,73 **** * 96.56064 / 0.010356187 ! You have: 5 austriaschilling ! You want: 100 italylira ! * 7.0357114 ! / 0.14213204 .Ed .Pp ! In other words, 60 miles per hour is about 96.6 km/hr, and 5 Austrian ! Schillings will get you seven 100-Lira coins. .Pp The options are as follows: .Bl -tag -width Ds --- 66,79 ---- * 96.56064 / 0.010356187 ! You have: 100 USD ! You want: 10 euro ! * 7.4354971 ! / 0.13449 .Ed .Pp ! In other words, 60 miles per hour is about 96.6 km/hr, ! and 100 US dollars will get you seven 10-Euro notes. .Pp The options are as follows: .Bl -tag -width Ds