summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-04 13:12:34 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-04 13:12:34 +0000
commitaa73930bd25b3d7e84218ff0455ddee611651400 (patch)
tree779cac337edd77d619c73db04dbdb722a1963d92 /usr.bin
parentaa0c20ead364992f6964cb350d66a40f7c5018e9 (diff)
Add examples with numbers, not just units
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/units/units.121
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