[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] new snapshot available: grep-3.7.98-c9ac
From: |
Jim Meyering |
Subject: |
Re: [platform-testers] new snapshot available: grep-3.7.98-c9ac |
Date: |
Wed, 6 Jul 2022 08:31:13 -0700 |
On Wed, Jul 6, 2022 at 1:44 AM Simon Josefsson <simon@josefsson.org> wrote:
> > Regular expressions like [:space:] are now errors even if
> ^
> > POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior.
>
> Shouldn't that be 'not'?
GNU grep initially contravened POSIX in order to provide a diagnostic
for this common error:
$ grep '[:space:]'
grep: character class syntax is [[:space:]], not [:space:]
So back then (prior to this upcoming release), when in POSIXLY_CORRECT
mode, it would accept the probably erroneous syntax and treat it like
the set of six bytes ":aceps". Now that POSIX has been adjusted to
allow GNU grep's rejection, we can make the rejection unconditional.
- grep-3.7.98-c9ac test results, (continued)
- grep-3.7.98-c9ac test results, Bruno Haible, 2022/07/03
- grep-3.7.98-c9ac on Solaris 11 OmniOS, Bruno Haible, 2022/07/03
- Re: new snapshot available: grep-3.7.98-c9ac, Gary Johnson, 2022/07/03
- grep-3.7.98-c9ac on Solaris 11 OpenIndiana, Bruno Haible, 2022/07/03
- Re: [platform-testers] new snapshot available: grep-3.7.98-c9ac, Simon Josefsson, 2022/07/06