grep: Update to version 3.9
Commit Message
- Update from version 3.8 to 3.9
- Update of rootfile not required
- Changelog
Noteworthy changes in release 3.9 (2023-03-05) [stable]
Bug fixes
With -P, some non-ASCII UTF8 characters were not recognized as
word-constituent due to our omission of the PCRE2_UCP flag. E.g.,
given f(){ echo Perú|LC_ALL=en_US.UTF-8 grep -Po "$1"; } and
this command, echo $(f 'r\w'):$(f '.\b'), before it would print ":r".
After the fix, it prints the correct results: "rú:ú".
When given multiple patterns the last of which has a back-reference,
grep no longer sometimes mistakenly matches lines in some cases.
[Bug#36148#13 introduced in grep 3.4]
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
lfs/grep | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
> - Update from version 3.8 to 3.9
> - Update of rootfile not required
> - Changelog
> Noteworthy changes in release 3.9 (2023-03-05) [stable]
> Bug fixes
> With -P, some non-ASCII UTF8 characters were not recognized as
> word-constituent due to our omission of the PCRE2_UCP flag. E.g.,
> given f(){ echo Perú|LC_ALL=en_US.UTF-8 grep -Po "$1"; } and
> this command, echo $(f 'r\w'):$(f '.\b'), before it would print ":r".
> After the fix, it prints the correct results: "rú:ú".
> When given multiple patterns the last of which has a back-reference,
> grep no longer sometimes mistakenly matches lines in some cases.
> [Bug#36148#13 introduced in grep 3.4]
>
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> lfs/grep | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lfs/grep b/lfs/grep
> index deb180348..b1a0ec6aa 100644
> --- a/lfs/grep
> +++ b/lfs/grep
> @@ -24,7 +24,7 @@
>
> include Config
>
> -VER = 3.8
> +VER = 3.9
>
> THISAPP = grep-$(VER)
> DL_FILE = $(THISAPP).tar.xz
> @@ -50,7 +50,7 @@ objects = $(DL_FILE)
>
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>
> -$(DL_FILE)_BLAKE2 = 24cf6f7aa35c85f59f508969ee9731c5be1e5c613e64e636f464bbdde917bb99ba739e4b82abf08da127ad0400d62e27d139f85142035745121d381982ec6c36
> +$(DL_FILE)_BLAKE2 = 33fefce2a831ad6f00f2eb1d8a063cf280635f2d9c481c98981f7a2ff143c846ab570a448c9c02c3ba08cf2c98612cb364d2d033baf92d62c4515315453cc6f9
>
> install : $(TARGET)
>
@@ -24,7 +24,7 @@
include Config
-VER = 3.8
+VER = 3.9
THISAPP = grep-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -50,7 +50,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 24cf6f7aa35c85f59f508969ee9731c5be1e5c613e64e636f464bbdde917bb99ba739e4b82abf08da127ad0400d62e27d139f85142035745121d381982ec6c36
+$(DL_FILE)_BLAKE2 = 33fefce2a831ad6f00f2eb1d8a063cf280635f2d9c481c98981f7a2ff143c846ab570a448c9c02c3ba08cf2c98612cb364d2d033baf92d62c4515315453cc6f9
install : $(TARGET)