Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): fix manual page regarding numerical co...



details:   https://anonhg.NetBSD.org/src/rev/5e7da9d91450
branches:  trunk
changeset: 945589:5e7da9d91450
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Nov 01 20:24:45 2020 +0000

description:
make(1): fix manual page regarding numerical comparisons

Make uses double, not int, for comparing things.

diffstat:

 usr.bin/make/make.1 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 80223e2a2f04 -r 5e7da9d91450 usr.bin/make/make.1
--- a/usr.bin/make/make.1       Sun Nov 01 19:49:28 2020 +0000
+++ b/usr.bin/make/make.1       Sun Nov 01 20:24:45 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: make.1,v 1.289 2020/08/28 17:15:04 rillig Exp $
+.\"    $NetBSD: make.1,v 1.290 2020/11/01 20:24:45 rillig Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    from: @(#)make.1        8.4 (Berkeley) 3/19/94
 .\"
-.Dd August 28, 2020
+.Dd November 1, 2020
 .Dt MAKE 1
 .Os
 .Sh NAME
@@ -1871,7 +1871,7 @@
 .Ar Expression
 may also be an arithmetic or string comparison.
 Variable expansion is
-performed on both sides of the comparison, after which the integral
+performed on both sides of the comparison, after which the numerical
 values are compared.
 A value is interpreted as hexadecimal if it is
 preceded by 0x, otherwise it is decimal; octal numbers are not supported.
@@ -1881,7 +1881,7 @@
 .Ql Ic ==
 or
 .Ql Ic "!="
-operator is not an integral value, then
+operator is not a numerical value, then
 string comparison is performed between the expanded
 variables.
 If no relational operator is given, it is assumed that the expanded



Home | Main Index | Thread Index | Old Index