diff options
author | Jim Meyering <meyering@redhat.com> | 2010-03-25 21:32:41 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-03-25 21:32:41 +0100 |
commit | 58c2e11a8b6849c4c602470fcc2466d0586a4d6f (patch) | |
tree | 5159970b50707dcdb33d371be1f69dc6f72f2854 | |
parent | 21547ade36d67208388e9018b43d07e6e5b2cf3d (diff) | |
download | grep-58c2e11a8b6849c4c602470fcc2466d0586a4d6f.tar.gz |
doc: correct and amend NEWS entries for 2.6.1
* NEWS (Bug fixes): Correct character ranges bug description.
Add an example from Dmitry V. Levin.
Add that the word-with-backref bug was introduced in 2.5.1.
* cfg.mk (old_NEWS_hash): Update to match.
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | cfg.mk | 2 |
2 files changed, 6 insertions, 3 deletions
@@ -11,10 +11,13 @@ GNU grep NEWS -*- outline -*- multibyte character. [bug introduced in 2.6] Character ranges would not work in single-byte character sets other - than C (for example, ISO-8859-1 or KOI8-R). [bug introduced in 2.6] + than C (for example, ISO-8859-1 or KOI8-R) and some multi-byte locales. + For example, this should print "1", but would find no match: + $ echo 1 | env -i LC_COLLATE=en_US.UTF-8 grep '[0-9]' + [bug introduced in 2.6] The output of grep was incorrect for whole-word (-w) matches if the - patterns included a backreference. + patterns included a back-reference. [bug introduced in grep-2.5.2] ** Portability @@ -31,7 +31,7 @@ bootstrap-tools = autoconf,automake,gnulib # Now that we have better tests, make this the default. export VERBOSE = yes -old_NEWS_hash = 72edfd3113c3b264a77f6f9efab18e38 +old_NEWS_hash = fbb9531f83022157e85039a8ed8f6dad # Many m4 macros names once began with `jm_'. # Make sure that none are inadvertently reintroduced. |