summaryrefslogtreecommitdiff
path: root/games/factor/factor.6
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-08-19 16:55:03 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-08-19 16:55:03 +0000
commit3014b26eb2f9604896fa2315ce31278237b578d9 (patch)
tree89fccdfb033b94b9ce1a34f1dfaffd4dd0a88eca /games/factor/factor.6
parent5a3bee479e2dfbd020ec850cc481975f4da0c7c3 (diff)
Clarify and stop lying
Diffstat (limited to 'games/factor/factor.6')
-rw-r--r--games/factor/factor.616
1 files changed, 6 insertions, 10 deletions
diff --git a/games/factor/factor.6 b/games/factor/factor.6
index 43bfa7f1665..9859c9d163d 100644
--- a/games/factor/factor.6
+++ b/games/factor/factor.6
@@ -1,4 +1,4 @@
-.\" $OpenBSD: factor.6,v 1.6 2001/06/06 20:52:18 pjanzen Exp $
+.\" $OpenBSD: factor.6,v 1.7 2001/08/19 16:55:02 pjanzen Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -57,7 +57,7 @@
.Sh DESCRIPTION
The
.Nm
-utility will factor integers between -2147483648 and 2147483647 inclusive.
+utility will factor integers between 1 and 4294967295 inclusive.
When a number is factored, it is printed, followed by a
.Dq \: ,
and the list of factors on a single line.
@@ -75,11 +75,10 @@ When
is invoked with no arguments,
.Nm
reads numbers, one per line, from standard input, until end of file or error.
-Leading white-space and empty lines are ignored.
-Numbers may be preceded by a single - or +.
-Numbers are terminated by a non-digit character (such as a newline).
+White-space and empty lines are ignored.
+Numbers may be preceded by a single +.
After a number is read, it is factored.
-Input lines must not be longer than 255 characters.
+Input lines must not be longer than 99 characters.
.Pp
The
.Nm primes
@@ -108,10 +107,7 @@ is taken to be 4294967295.
The
.Ar start
value may be preceded by a single +.
-The
-.Ar start
-value is terminated by a non-digit character (such as a newline).
-The input line must not be longer than 255 characters.
+The input line must not be longer than 99 characters.
.Sh BUGS
.Nm factor
cannot handle the