grep - News: grep-2.9 released [stable]
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:
http://git.sv.gnu.org/gitweb/?p=grep.git;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:
http://ftp.gnu.org/gnu/grep/grep-2.9.tar.gz (1.8MB)
http://ftp.gnu.org/gnu/grep/grep-2.9.tar.xz (1020KB)
Here are the GPG detached signatures[*]:
http://ftp.gnu.org/gnu/grep/grep-2.9.tar.gz.sig
http://ftp.gnu.org/gnu/grep/grep-2.9.tar.xz.sig
To reduce load on the main server, use a mirror listed at:
http://www.gnu.org/order/ftp.html
[*] 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 keys.gnupg.net --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
----------------------------
NEWS
* 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.
Powered by Savane 3.14-8aba.
Corresponding source code