From f53c211d2153d9ed766921e9b48908e5a23bfba2e6c40cfb6eb9e5d787c306bc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 18 May 2023 12:01:28 +0000 Subject: [PATCH 1/2] - update to 3.11: * With -P, patterns like [\d] now work again. Fixing this has caused grep to revert to the behavior of grep 3.8, in that patterns like \w and  go back to using ASCII rather than Unicode interpretations. However, future versions of GNU grep and/or PCRE2 are likely to fix this and change the behavior of \w and  back to Unicode again, without breaking [\d] as 3.10 did. OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=135 --- grep-3.10.tar.xz | 3 --- grep-3.10.tar.xz.sig | 16 ---------------- grep-3.11.tar.xz | 3 +++ grep-3.11.tar.xz.sig | 16 ++++++++++++++++ grep.changes | 12 ++++++++++++ grep.spec | 2 +- 6 files changed, 32 insertions(+), 20 deletions(-) delete mode 100644 grep-3.10.tar.xz delete mode 100644 grep-3.10.tar.xz.sig create mode 100644 grep-3.11.tar.xz create mode 100644 grep-3.11.tar.xz.sig diff --git a/grep-3.10.tar.xz b/grep-3.10.tar.xz deleted file mode 100644 index 99bd6fb..0000000 --- a/grep-3.10.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:24efa5b595fb5a7100879b51b8868a0bb87a71c183d02c4c602633b88af6855b -size 1687464 diff --git a/grep-3.10.tar.xz.sig b/grep-3.10.tar.xz.sig deleted file mode 100644 index d0eebd6..0000000 --- a/grep-3.10.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEEFV0/xQDINEhtHupnf9n8ywAL7u4FAmQbpaIACgkQf9n8ywAL -7u7EFA/+Kh3oWnTNRroophIAKaIhdiaPNdthllGaKSlx5goLQC58bUXQNZxAskQf -dhLc6Nsvk0SNM1HGYlFOWq2Ht+rZcfYokun6J0Su8EnlItKGdAsmhtnkPhdxqj5z -Vq1iy6+y5yLXt1h6ie/QsZaYWxVhm+1qx1rI93EOz8WzkWFHC5eAkXJvbfBQ84pS -mvZkWptknfFt50CafnlPLz6t+dxE7+d/+6z3b8VDGXNvMZJSQDGT7sFseJFym3zD -V2P3sZp8OAVqctQXZKfIr68bq5kFOIKmZJKvTZNgNGCw/fHO02Dy8l+feJJPh28w -ke6WVJpBcZ8XaRrP7Sca7UuiQgYpMiDAWa8BDlrQzHrbKNilC9L3Llqbet3UfaCR -JqVcb9EbJY5SILHiLUdcscxlYNmNgMP6yPd3VHokM0obBoDagPHcXxvwnOJfw6gn -Uiy+hcdDQHe7MnAjm7j8xpHRP7kCDTh2sZvDTvMWlpFeczYZht72P1Jtd2DxYuIH -nxwZ1oooq7Gv0DzqudiXXeYJMrlVZ8J40+08mvcY1ucksW0cZlR0Rc8WiMVnB6M9 -Lg0r5EzFmsrNzJe3YLzA8r4r3+rpKpmZjzPAU8wG7nGYwGpVkI7/Lo+uLQ9W37Wr -gfTzkHhh+AibLzkO/NrK20xvHgbl0aE79xKdFOMxSswRvDTQruk= -=0HlM ------END PGP SIGNATURE----- diff --git a/grep-3.11.tar.xz b/grep-3.11.tar.xz new file mode 100644 index 0000000..fe73587 --- /dev/null +++ b/grep-3.11.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab +size 1703776 diff --git a/grep-3.11.tar.xz.sig b/grep-3.11.tar.xz.sig new file mode 100644 index 0000000..cf18464 --- /dev/null +++ b/grep-3.11.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEFV0/xQDINEhtHupnf9n8ywAL7u4FAmRfTKwACgkQf9n8ywAL +7u6GLhAAlhO11xMM5IG9VbQoT3Qa3i+T3f6r34N7LWUMDJE2WUJojujuQ7Ac78fU +mxm0Z+t6+vaJzrmNtnotmhg2LK7rWVnase64o0t0GB3/gZumJlSHL0jQzKvaKoGz +vwE4yfRRN5uM284Xmb/k8EyamG+3oyoxWk/Ml13vouEPxPbu0Oe2vlChl8tL0g/W +Wi4x8ue32ZipBse0QyE3l/fxnOQ8MCwVqzVr+psGIa6vmSMhkuDfEprTAfZLVRbN +AzsZrZ1BEtlTzitTMxWejTwI/4Eq2FguAJXgEESaPBHhX+XRC3ArXNtycTcWmqB1 +wNwDLz3bpzns0g24WJ3B8ahY0IxzXfbqkUEy4MNVClsz4+iLUlbQIB48AZbKL9Bo +PhmsJoxDFI7D2Cam2a6iK6aprtFOal+gTRqPmdvqCgxShvZxgndASD0SKc+0CAik +FkNz12NDp5hYZDSUO+uSiTKaVzlYCKqLnPg0CVw++u2H+QsP5BgqJr3tkc5PwXmX +TfwFWTx4h2xasoBe4RzFw4RMRejtDVaNUSAoSj6FhHcW7NYYJeURZb/0FpAwWov1 +otjDCU0NzpraAB/xk79uwPxp8InfEM6GYPlEi2hkPQBT0HZY1MZYaIzW0h9lLxlU +vr8Dvr9uUlNIHse7mWc1zm1dFwOjWwCmg6Lfaj8DebAvEHI5gNQ= +=9t3y +-----END PGP SIGNATURE----- diff --git a/grep.changes b/grep.changes index bdf9a4f..1d3248d 100644 --- a/grep.changes +++ b/grep.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu May 18 12:00:38 UTC 2023 - Dirk Müller + +- update to 3.11: + * With -P, patterns like [\d] now work again. Fixing this + has caused grep to revert to the behavior of grep 3.8, in that + patterns like \w and  go back to using ASCII rather + than Unicode interpretations. + However, future versions of GNU grep and/or PCRE2 are + likely to fix this and change the behavior of \w and  + back to Unicode again, without breaking [\d] as 3.10 did. + ------------------------------------------------------------------- Thu Mar 30 07:41:18 UTC 2023 - Dirk Müller diff --git a/grep.spec b/grep.spec index 1b680a3..bebdc18 100644 --- a/grep.spec +++ b/grep.spec @@ -17,7 +17,7 @@ Name: grep -Version: 3.10 +Version: 3.11 Release: 0 Summary: Print lines matching a pattern License: GPL-3.0-or-later From 3ed3d1f409eae7f14b248e9eaf70e434235a1ae3130331b69a24bd553a37a952 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 27 May 2023 08:56:55 +0000 Subject: [PATCH 2/2] patterns like \w and ^H go back to using ASCII rather likely to fix this and change the behavior of \w and ^H OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=136 --- grep.changes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grep.changes b/grep.changes index 1d3248d..324c18d 100644 --- a/grep.changes +++ b/grep.changes @@ -4,10 +4,10 @@ Thu May 18 12:00:38 UTC 2023 - Dirk Müller - update to 3.11: * With -P, patterns like [\d] now work again. Fixing this has caused grep to revert to the behavior of grep 3.8, in that - patterns like \w and  go back to using ASCII rather + patterns like \w and ^H go back to using ASCII rather than Unicode interpretations. However, future versions of GNU grep and/or PCRE2 are - likely to fix this and change the behavior of \w and  + likely to fix this and change the behavior of \w and ^H back to Unicode again, without breaking [\d] as 3.10 did. -------------------------------------------------------------------