summaryrefslogtreecommitdiffstats
path: root/factor
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2002-09-26 18:31:58 +0000
committerwiz <wiz@NetBSD.org>2002-09-26 18:31:58 +0000
commit3671521369575bb3ac1f1d35852f4f333e0fa288 (patch)
treefaeeb5edd59cdba46fec803587de354230c228f6 /factor
parent9f5d84cbba6b8d3c18278a17a16b2ec5cae7762c (diff)
downloadbsdgames-darwin-3671521369575bb3ac1f1d35852f4f333e0fa288.tar.gz
bsdgames-darwin-3671521369575bb3ac1f1d35852f4f333e0fa288.tar.zst
bsdgames-darwin-3671521369575bb3ac1f1d35852f4f333e0fa288.zip
Lots of minor fixes resulting from reading these man pages in detail.
Diffstat (limited to 'factor')
-rw-r--r--factor/factor.615
1 files changed, 6 insertions, 9 deletions
diff --git a/factor/factor.6 b/factor/factor.6
index 93d11468..8ad52fd8 100644
--- a/factor/factor.6
+++ b/factor/factor.6
@@ -1,4 +1,4 @@
-.\" $NetBSD: factor.6,v 1.6 2001/04/02 22:42:38 wiz Exp $
+.\" $NetBSD: factor.6,v 1.7 2002/09/26 18:32:01 wiz Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -47,8 +47,7 @@
.Sh NAME
.Nm factor ,
.Nm primes
-.Nd
-factor a number, generate primes
+.Nd factor a number, generate primes
.Sh SYNOPSIS
.Nm
.Op Ar number ...
@@ -58,18 +57,16 @@ factor a number, generate primes
.Sh DESCRIPTION
The
.Nm
-utility will factor integers between -2147483648 and 2147483647 inclusive.
+utility will factor integers between \-2147483648 and 2147483647 inclusive.
When a number is factored, it is printed, followed by a
-.Dq \: ,
+.Dq \&: ,
and the list of factors on a single line.
Factors are listed in ascending order, and are preceded by a space.
-If a factor divides a value more than once, it will be printed
-more than once.
+If a factor divides a value more than once, it will be printed more than once.
.Pp
When
.Nm
-is invoked with one or more arguments,
-each argument will be factored.
+is invoked with one or more arguments, each argument will be factored.
.Pp
When
.Nm