diff options
author | 2001-02-04 13:12:33 +0000 | |
---|---|---|
committer | 2001-02-04 13:12:33 +0000 | |
commit | 42b80844903d5e9375687880ffe4e08958f70fd4 (patch) | |
tree | 9bc97fbe97db52ae38c442864aeaded8d7511c48 | |
parent | Be a little more careful with scanf() on the score file (diff) | |
download | wireguard-openbsd-42b80844903d5e9375687880ffe4e08958f70fd4.tar.xz wireguard-openbsd-42b80844903d5e9375687880ffe4e08958f70fd4.zip |
Add examples with numbers, not just units
-rw-r--r-- | usr.bin/units/units.1 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/usr.bin/units/units.1 b/usr.bin/units/units.1 index 6d66729eee3..de135466f13 100644 --- a/usr.bin/units/units.1 +++ b/usr.bin/units/units.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: units.1,v 1.12 2000/11/10 05:10:42 aaron Exp $ +.\" $OpenBSD: units.1,v 1.13 2001/02/04 13:12:33 pjanzen Exp $ .\" converted to new format by deraadt@openbsd.org .Dd July 14, 1993 .Dt UNITS 1 @@ -38,6 +38,25 @@ It works interactively by prompting the user for input: / 3785.4118 .fi .Pp +The +.Nm +program can handle numbers as well: +.Pp +.nf + You have: 60 miles/hr + You want: km/hr + * 96.56064 + / 0.010356187 + + You have: 5 austriaschilling + You want: 100 italylira + * 7.0357114 + / 0.14213204 +.fi +.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 .It Fl f Ar filename |