X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A8F438555A4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1678138521;
	bh=eG+9Vb47r5Zbj732egMNoIfdHIOjhnKdL3SK+LZgm3A=;
	h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:Cc:From;
	b=WoOve1THa/q7uVcxr/SeVbq7AMDhPxF38oYhNcaMRBJQdS1cZYr+rVS6sOV0Fg9gg
	 9NPy7FXNoLSln5uf39dK9MFdyc0htwRDvMgrW1qr4ighSHWp2siAlzEfcx7P6zB/7N
	 9pn/ayOAvjUnMzPg7eRg5ENwT/EtWuXD0srSLS4E=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 349A2385558F
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D90073858D39
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C9073858D39
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
To: cygwin@cygwin.com
Date: Mon, 06 Mar 2023 14:32:55 -0700
Message-Id: <announce.20230306143255.58794-1-Brian.Inglis@Shaw.ca>
Subject: [ANNOUNCEMENT] 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
X-BeenThere: cygwin-announce@cygwin.com
X-Mailman-Version: 2.1.29
X-Mailer: Perl5 Mail::Internet v2.20
X-BeenThere: cygwin@cygwin.com
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Cygwin grep Co-Maintainer via Cygwin-announce via Cygwin
 <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Cygwin grep Co-Maintainer via Cygwin-announce <cygwin-announce@cygwin.com>,
        Cygwin grep Co-Maintainer <Brian.Inglis@Shaw.ca>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0063200962056141380=="
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

--===============0063200962056141380==
Content-Type: text/plain

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 <CHAR>
	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]


--===============0063200962056141380==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

--===============0063200962056141380==--
