[EMAIL PROTECTED] (Per Starbäck) wrote:
tr (GNU coreutils) 6.9
$ echo Foo | tr '[:upper:]' '[X*]'
tr: misaligned [:upper:] and/or [:lower:] construct
Other character sets work like this, at least this one:
$ echo Foo | tr '[:alnum:]' '[X*]'
XXX
I guess there is a bug in code
tr (GNU coreutils) 6.9
$ echo Foo | tr '[:upper:]' '[X*]'
tr: misaligned [:upper:] and/or [:lower:] construct
Other character sets work like this, at least this one:
$ echo Foo | tr '[:alnum:]' '[X*]'
XXX
I guess there is a bug in code that is there to check if [:upper:] or
[:lower:]