Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Agent
Description
The current code on Suse simply converts all letters to the character 'a' and causes each run to re-import keys - so just for consistency sake, setting redhat/suse to both use the [:upper:] [:lower:] syntax
edit - I should clarify - this doesn't happen on all systems, but the behavior appears to occur on older versions of coreutils
Just to show an example:
root@examplehost:/tmp $ rpm -qf /usr/bin/tr
|
coreutils-8.12-6.25.31.1
|
|
root@examplehost:/tmp $ cat /etc/*release
|
SUSE Linux Enterprise Server 11 (x86_64)
|
VERSION = 11
|
PATCHLEVEL = 3
|
|
root@examplehost:/tmp $ echo "ABCDEFG" | tr [A-Z] [a-z]
|
aaaaaaa
|
|
root@examplehost:/tmp $ echo "ABCDEFG" | tr A-Z a-z
|
abcdefg
|
|
root@examplehost:/tmp $ echo "ABCDEFG" | tr [:upper:] [:lower:]
|
abcdefg
|