NetBSD-Bugs archive

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

Re: bin/53507: awk doesn't properly compare "numeric strings"

The following reply was made to PR bin/53507; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
Subject: Re: bin/53507: awk doesn't properly compare "numeric strings"
Date: Wed, 08 Aug 2018 17:24:42 +0700

     Date:        Wed,  8 Aug 2018 09:30:02 +0000 (UTC)
     From:        Valery Ushakov <>
     Message-ID:  <>
   |  Check the definition  of "numeric string".
 Yes, that is exactly right.   This is not an awk bug, but a bug in the script (which I will fix, sometime after Paul has
 committed his changes - no point in creating needless work.)
 And for full disclosure, after Paul found the issue of the script doing
 string comparisons (when numeric ones were clearly wanted), I
 pointed him at the text he quoted from POSIX.    He also queried the
 definition of "numeric string" which he noticed before I did, but
 decided the PR wouldn't hurt just in case...

Home | Main Index | Thread Index | Old Index