From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 9C9073858D39 for ; Mon, 6 Mar 2023 21:34:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C9073858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id ZGDJpwKrPuZMSZITIpUTqh; Mon, 06 Mar 2023 21:34:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1678138456; bh=rDPLPOgKVCFc5vQLYxJNBIDVAkemFAF7OURAjo3cQk8=; h=From:To:Reply-To:Date:Subject; b=jbmKBFEXo4AwVnCrMZd+39s5jwpyKFtsDMtZiK5ySdDFK6hkT1ImuIvj0BKy4H/c+ o5vyZedcA2TQrE+f/rIyhhJlB22c60AOEVEC3Ip3j9/Kc5V6SyBgAQhrs1dBWjjQLX HeU9W/UoDN1KWTYzLIsNLFh0nW4s/aOp0L5Bqb+3PxaUc/guh7mQ2nJg3uKlglGF00 V1/FWgmIbi6kr+nIbD0+h8hq2VnPpCIPdtB0nhWmK2tdVnPvRYzDrbg2qX9K7bMr0L vw4SHS3czGeg5WYxMw18F5l+X8hGD/q6s8gspd3oPt+lBRujRQX0V5hvWBo6v2SJqe z+McsnBFtcIRw== Received: from localhost.localdomain ([184.64.102.149]) by cmsmtp with ESMTP id ZITHpUeDUHFsOZITIp8t3e; Mon, 06 Mar 2023 21:34:16 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=64065c58 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=mDV3o1hIAAAA:8 a=J6c-sq-jAlAt_dDBMoAA:9 a=_FVE-zBwftR9WsbkzFJk:22 From: "Cygwin grep Co-Maintainer" To: "Cygwin Announcements" Reply-To: "Cygwin" Date: Mon, 06 Mar 2023 14:32:55 -0700 Message-Id: <20230306143255.58794-1-Brian.Inglis@Shaw.ca> Subject: Upgraded: grep 3.9 X-CMAE-Envelope: MS4xfNaYnmSMkBNssoKkD+5H9wIm4b0yMmTBJfalmkvAZPsuHZF8Y1MnCl2YreAcjkrAIA+e0g3GKXWzEFMEVm9uvUHVDbnaExkknxF1cF1z30yMof5Ferl/ zKIoRpg3i3qdi+U6FwCu6qFRmHn/K6lobrJXa3rHAmEiBAIhnAcxLLrRaIK/TahzJulP+xDIE1UKnZRBkyPUpbWPrqgkWp2IVco= X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,KAM_SHORT,PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The following package has been upgraded in the Cygwin distribution: * grep 3.9 GNU grep searches one or more input files for lines containing a match to a specified pattern. By default, grep outputs the matching lines. The GNU implementation includes several useful extensions over POSIX. The previous release stated that egrep and fgrep are deprecated obsolescent commands, will be dropped in future, and from this release until then, every use will show a stderr warning message, reminding you how to change your commands and scripts: $ egrep ... egrep: warning: egrep is obsolescent; using grep -E ... $ fgrep ... fgrep: warning: fgrep is obsolescent; using grep -F ... Cygwin releases will suppress the egrep and fgrep warning messages, but developers and maintainers should rigorously remove all such usages from their practices and scripts, as those commands could be dropped, or any warning messages could be treated as fatal errors, in future. Other invalid usages documented previously also now generate stderr warning or error messages e.g. grep: warning: * at start of expression grep: warning: ? at start of expression grep: warning: + at start of expression grep: warning: {...} at start of expression grep: warning: stray \ before grep: warning: stray \ before unprintable character grep: warning: stray \ before white space For more information see the project home pages: https://www.gnu.org/software/grep/ https://sv.gnu.org/projects/grep/ For changes since the previous Cygwin release please see below or read /usr/share/doc/grep/NEWS after installation; for complete details see: /usr/share/doc/grep/ChangeLog https://git.sv.gnu.org/gitweb/?p=grep.git;a=log;h=refs/tags/v3.9 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]