summaryrefslogtreecommitdiffstats
path: root/number/number.6
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-03-23 08:28:00 +0000
committercgd <cgd@NetBSD.org>1995-03-23 08:28:00 +0000
commit94b5353c71e7246077d468afe68d51ce85fc213d (patch)
tree0b6f70b8110f5d6650a6083460424df854c415f8 /number/number.6
parent1c0b80f0fe7a28cd947ace3e69f5fd2ac8ed47cb (diff)
downloadbsdgames-darwin-94b5353c71e7246077d468afe68d51ce85fc213d.tar.gz
bsdgames-darwin-94b5353c71e7246077d468afe68d51ce85fc213d.tar.zst
bsdgames-darwin-94b5353c71e7246077d468afe68d51ce85fc213d.zip
merge with Lite, new RCS id conventions, etc.
Diffstat (limited to 'number/number.6')
-rw-r--r--number/number.629
1 files changed, 18 insertions, 11 deletions
diff --git a/number/number.6 b/number/number.6
index a35b1c9f..c50c1fb5 100644
--- a/number/number.6
+++ b/number/number.6
@@ -1,5 +1,7 @@
-.\" Copyright (c) 1989 The Regents of the University of California.
-.\" All rights reserved.
+.\" $NetBSD: number.6,v 1.4 1995/03/23 08:35:29 cgd Exp $
+.\"
+.\" Copyright (c) 1989, 1993, 1994
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -29,10 +31,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" from: @(#)number.6 6.4 (Berkeley) 6/23/90
-.\" $Id: number.6,v 1.3 1993/08/05 01:46:49 jtc Exp $
+.\" @(#)number.6 8.2 (Berkeley) 3/31/94
.\"
-.Dd June 23, 1990
+.Dd March 31, 1994
.Dt NUMBER 6
.Os
.Sh NAME
@@ -44,12 +45,18 @@
.Sh DESCRIPTION
The
.Nm number
-utility
-prints the English equivalent of the specified number to the
-standard output.
+utility prints the English equivalent of the number to the standard
+output, with each 10^3 magnitude displayed on a separate line.
If no argument is specified,
.Nm number
-reads a number from the standard input.
+reads lines from the standard input.
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl l
+Display the number on a single line.
+.El
.Sh BUGS
-.Nm Number
-doesn't understand exponents.
+Although
+.Nm number
+understand fractions, it doesn't understand exponents.