delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/13/16:54:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 002CA38582BE
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSW.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=QIh7+yHL c=1 sm=1 tr=0 ts=6371671d
a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=mDV3o1hIAAAA:8
a=lKjcT69yLIS2m60IDOoA:9 a=_FVE-zBwftR9WsbkzFJk:22
From: "Cygwin grep Co-Maintainer" <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
To: cygwin AT cygwin DOT com
Date: Sun, 13 Nov 2022 14:50:51 -0700
Message-Id: <announce.20221113145051.43579-1-Brian.Inglis@SystematicSW.ab.ca>
Subject: [ANNOUNCEMENT] Upgraded: grep 3.8-2
X-CMAE-Envelope: MS4xfHzUvWi5uOf1MENvOV6W7XoAJRMY1kUc69/0FVQpGyurha9NXSvgh/FPz3/djPQU0P9wYLoaOcbIKIB2pScbUGcNBhtAfJ2nqGPD2VUV0OzYNBazrS57
JEJd03k6cH9FWsBwHRS3NtxSHye2NEgQhlZp9RUqDQQTTpF45DrCAh1PrifyCuR5jSK+VNxk/DMOpq0P/QcVnOqZbxQO2/PH/6D0DraMe8S2HEe1SZmG86AG
X-Spam-Status: No, score=-1163.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
X-Mailer: Perl5 Mail::Internet v2.20
X-BeenThere: cygwin AT cygwin DOT com
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

The following package has been upgraded in the Cygwin distribution:

* grep	3.8-2

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.

For more information see the project home pages:

	https://www.gnu.org/software/grep/
	https://sv.gnu.org/projects/grep/

This Cygwin release suppresses 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.

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.8

The change note below states 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
	...

Other usages documented below 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

Please CC any issues also to the maintainer due to ISP blocking.
This package was released as test a few weeks ago to allow any impacts
to be evaluated and mitigated.


Noteworthy changes in release 3.8 (2022-09-02) [stable]

Changes in behavior

* The -P option is now based on PCRE2 instead of the older PCRE,
  thanks to code contributed by Carlo Arenas.

* The egrep and fgrep commands, which have been deprecated since
  release 2.5.3 (2007), now warn that they are obsolescent and should
  be replaced by grep -E and grep -F.

* The confusing GREP_COLOR environment variable is now obsolescent.
  Instead of GREP_COLOR='xxx', use GREP_COLORS='mt=xxx'. grep now
  warns if GREP_COLOR is used and is not overridden by GREP_COLORS.
  Also, grep now treats GREP_COLOR like GREP_COLORS by silently
  ignoring it if it attempts to inject ANSI terminal escapes.

* Regular expressions with stray backslashes now cause warnings, as
  their unspecified behavior can lead to unexpected results.
  For example, '\a' and 'a' are not always equivalent.
  Similarly, regular expressions or subexpressions that start with a
  repetition operator now also cause warnings due to their unspecified
  behavior; for example, *a(+b|{1}c) now has three reasons to warn.
  The warnings are intended as a transition aid; they are likely to be
  errors in future releases.

* Regular expressions like [:space:] are now errors even if
  POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior.

Bug fixes

* In locales using UTF-8 encoding, the regular expression '.' no
  longer sometimes fails to match Unicode characters U+D400 through
  U+D7FF (some Hangul Syllables, and Hangul Jamo Extended-B) and
  Unicode characters U+108000 through U+10FFFF (half of Supplemental
  Private Use Area plane B).
  [bug introduced in grep 3.4]

* The -s option no longer suppresses "binary file matches" messages.
  [Bug#51860 introduced in grep 3.5]

Documentation improvements

* The manual now covers unspecified behavior in patterns like \x, (+),
  and range expressions outside the POSIX locale.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019