newsgrep - News: grep-2.9 released [stable]

Latest News
grep-3.7 released [stable] posted by meyering, Sat 14 Aug 2021 08:12:52 PM UTC - 0 replies
grep-3.6 released [stable] posted by meyering, Mon 09 Nov 2020 05:33:39 AM UTC - 0 replies
grep-3.5 released [stable] posted by meyering, Mon 28 Sep 2020 03:30:42 AM UTC - 0 replies
grep-3.4 released [stable] posted by meyering, Thu 02 Jan 2020 10:32:07 PM UTC - 0 replies
grep-3.3 released [stable] posted by meyering, Fri 21 Dec 2018 04:51:38 AM UTC - 0 replies
[Submit News]
[38 news in archive]

grep-2.9 released [stable]

Item posted by Jim Meyering <meyering> on Tue 21 Jun 2011 07:02:56 PM UTC.

This is to announce grep-2.9, a bug-fix release.
Well, there is one "enhancement" that might be seen as fixing
a performance bug:

    grep is faster on regular expressions that match multibyte characters
    in brackets (such as '[áéíóú]').

Thanks to Paolo Bonzini for that.

See the NEWS below, or for a more complete summary of changes and
contributors, see:;a=shortlog;h=v2.9
or run this command from a git-cloned grep directory:
  git shortlog v2.8..v2.9

As usual, we inherit many portability and robustness improvements
by using gnulib.  To summarize its 550+ changes, run these commands
from a git-cloned grep directory:
  git checkout v2.8
  git submodule summary v2.9

Here are the compressed sources:   (1.8MB)   (1020KB)

Here are the GPG detached signatures[*]:

To reduce load on the main server, use a mirror listed at:

[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact.  First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:

  gpg --verify grep-2.9.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver --recv-keys 000BEEEE

and rerun the `gpg --verify' command.

This release was bootstrapped with the following tools:
  Autoconf 2.68.73-6cd9
  Automake 1.11a
  Gnulib v0.0-5844-g2dbdfc4


* Noteworthy changes in release 2.9 (2011-06-21) [stable]

** Bug fixes

  grep no longer clobbers heap for an ERE like '(^| )*( |$)'
  [bug introduced in grep-2.6]

  grep is faster on regular expressions that match multibyte characters
  in brackets (such as '[áéíóú]').

  echo c|grep '[c]' would fail for any c in 0x80..0xff, with a uni-byte
  encoding for which the byte-to-wide-char mapping is nontrivial.  For
  example, the ISO-88591 locales are not affected, but ru_RU.KOI8-R is.
  [bug introduced in grep-2.6]

  grep -P no longer aborts when PCRE's backtracking limit is exceeded
  Before, echo aaaaaaaaaaaaaab |grep -P '((a+)*)+$' would abort.  Now,
  it diagnoses the problem and exits with status 2.

No messages in grep-2.9 released [stable]


Back to the top

Powered by Savane 3.9