tr: support [:xdigit:], fix handling of ranges and [x]'s.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 1 Mar 2009 04:50:18 +0000 (04:50 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 1 Mar 2009 04:50:18 +0000 (04:50 -0000)
commit1bfcc8b08e511be7228f93079f669d95392ef184
tree72a5d206c0c7707927f5f58c118518330dbd3c73
parent31773b71e89f79cb5afda834ce15538a8818067d
tr: support [:xdigit:], fix handling of ranges and [x]'s.
 add testsuite entry for each of 3 bugs fixed.

function                                             old     new   delta
static.classes                                        73      82      +9
expand                                              1738    1743      +5
complement                                            74      72      -2
tr_main                                              472     463      -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 14/-11)              Total: 3 bytes
coreutils/tr.c
testsuite/tr.tests [new file with mode: 0644]