|
From: | Paul Eggert |
Subject: | Re: [platform-testers] new snapshot available: grep-3.7.98-c9ac |
Date: | Wed, 6 Jul 2022 10:16:39 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 7/6/22 03:44, Simon Josefsson via 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'?
No, I think "now" is right. Here's the old behavior and the new one: $ POSIXLY_CORRECT=yes grep-3.7 '[:space:]' /dev/null; echo $? 1 $ POSIXLY_CORRECT=yes grep-current '[:space:]' /dev/null; echo $? grep: character class syntax is [[:space:]], not [:space:] 2
[Prev in Thread] | Current Thread | [Next in Thread] |