mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
998dbee6d9
it looks like the introduced support for character classes and equivalence classes is not correct. The attached patch tries to fix some symptoms and tries to make tr behave like gnu tr for the added test cases. The patch - removes if clauses with side effects - fixes handling of buffer pointer (strcat added characters to the buffer without increasing the buffer pointer) - re-arranges character classes to match ASCII order regards, Jean |
||
---|---|---|
.. | ||
tr-d-works | ||
tr-non-gnu | ||
tr-works |