diff options
author | Jim Meyering <meyering@redhat.com> | 2007-10-21 12:38:33 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-10-21 14:01:28 +0200 |
commit | af5d0c363a52e787a4311a11f035209eecdc4115 (patch) | |
tree | 30ee17355928ee3ba04a78d66b2f290d8a47e159 /NEWS | |
parent | c365bafa815695e187089ab711eca4ca55282b0d (diff) | |
download | coreutils-af5d0c363a52e787a4311a11f035209eecdc4115.tar.xz |
tr: do not reject an unmatched [:lower:] or [:upper:] in SET1.
* NEWS: Mention this.
* src/tr.c (get_next) [RE_CHAR_CLASS]: Don't skip the loop when
processing [:lower:] and [:upper:].
(main): Require [:lower:] or [:upper:] in SET1 only when
when one of those is specified in SET2.
* tests/tr/Test.pm: Add tests for this fix.
Reported by Per Starbäck.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -148,6 +148,8 @@ GNU coreutils NEWS -*- outline -*- tr -c no longer aborts when translating with Set2 larger than the complement of Set1. [introduced with the original version, in 1992] + tr no longer rejects an unmatched [:lower:] or [:upper:] in SET1. + * Noteworthy changes in release 6.9 (2007-03-22) [stable] |