tr -c: don't abort when translating with S2 larger than complement of S1
authorJim Meyering <jim@meyering.net>
Fri, 4 May 2007 07:57:10 +0000 (09:57 +0200)
committerJim Meyering <jim@meyering.net>
Fri, 4 May 2007 08:03:01 +0000 (10:03 +0200)
commitab402c29f9bbb7b6b55482e848bcb320b9eb70b9
tree902d5bb69d593c668b8e30ff4435a51105323374
parentbf8cfacd2468ada25c46a228344ab7af36515f67
tr -c: don't abort when translating with S2 larger than complement of S1
* src/tr.c (main): Remove invalid assertion triggered by e.g.,
tr -c a '[b*256]'.  There's nothing wrong with having Set2 larger
than Set1.  Reported by Guntram Blohm.
* tests/tr/Test.pm (no-abort-1): Test for the above.
* NEWS: Mention this bug fix.
* THANKS: Add Guntram Blohm.
ChangeLog
NEWS
THANKS
src/tr.c
tests/tr/Makefile.am
tests/tr/Test.pm