From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] grep: Update to version 3.9 Date: Tue, 07 Mar 2023 23:01:24 +0100 Message-ID: <20230307220127.3459073-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1001416188898084314==" List-Id: --===============1001416188898084314== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - 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=C3=BA|LC_ALL=3Den_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=C3=BA:=C3=BA". 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 --- 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 @@ =20 include Config =20 -VER =3D 3.8 +VER =3D 3.9 =20 THISAPP =3D grep-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -50,7 +50,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 24cf6f7aa35c85f59f508969ee9731c5be1e5c613e64e636f464bb= dde917bb99ba739e4b82abf08da127ad0400d62e27d139f85142035745121d381982ec6c36 +$(DL_FILE)_BLAKE2 =3D 33fefce2a831ad6f00f2eb1d8a063cf280635f2d9c481c98981f7a= 2ff143c846ab570a448c9c02c3ba08cf2c98612cb364d2d033baf92d62c4515315453cc6f9 =20 install : $(TARGET) =20 --=20 2.39.2 --===============1001416188898084314==--