coreutils
coreutils copied to clipboard
tr: correctly detected matched [:upper:]
tr detects if a class in set2 is matched by a class at the correct position in set1 after it has expanded everything before the class:
So
tr 'abcd[:upper:]' 'a-d[:lower:]'
should not fail
Fixes #6445