summaryrefslogtreecommitdiffstats
path: root/factor/factor.6
diff options
context:
space:
mode:
Diffstat (limited to 'factor/factor.6')
-rw-r--r--factor/factor.614
1 files changed, 7 insertions, 7 deletions
diff --git a/factor/factor.6 b/factor/factor.6
index d21be552..8740314b 100644
--- a/factor/factor.6
+++ b/factor/factor.6
@@ -1,4 +1,4 @@
-.\" $NetBSD: factor.6,v 1.4 1995/03/23 08:28:05 cgd Exp $
+.\" $NetBSD: factor.6,v 1.5 1997/10/10 12:51:27 lukem Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -50,14 +50,14 @@
.Nd
factor a number, generate primes
.Sh SYNOPSIS
-.Nm factor
+.Nm
.Op Ar number ...
.br
.Nm primes
.Op Ar start Op Ar stop
.Sh DESCRIPTION
The
-.Nm factor
+.Nm
utility will factor integers between -2147483648 and 2147483647 inclusive.
When a number is factored, it is printed, followed by a
.Dq \: ,
@@ -67,14 +67,14 @@ If a factor divides a value more than once, it will be printed
more than once.
.Pp
When
-.Nm factor
+.Nm
is invoked with one or more arguments,
each argument will be factored.
.Pp
When
-.Nm factor
+.Nm
is invoked with no arguments,
-.Nm factor
+.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 +.
@@ -118,7 +118,7 @@ Out of range or invalid input results in
.Sq ouch
being written to standard error.
.Sh BUGS
-.Nm Factor
+.Nm
cannot handle the
.Dq 10 most wanted
factor list,