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 /tests/chgrp/posix-H | |
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 'tests/chgrp/posix-H')
0 files changed, 0 insertions, 0 deletions