]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commit
grep: Update to version 3.8
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 5 Jan 2023 18:21:05 +0000 (19:21 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 18 Jan 2023 23:29:49 +0000 (23:29 +0000)
commit40b5df3942149738529c22c9cfcd067cd672b605
tree538ad6affc293c5baf3de3b1cf014841a559e746
parentdb4374176a4ed4b73e42fb34ff198dd743f2f8cf
grep: Update to version 3.8

- Update from version 3.7 to 3.8
- Update of rootfile not required
- Changelog
    * 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
  <https://bugs.gnu.org/39678>.  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.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
lfs/grep