Hi,
I discovered that if there is a file with the one lowercase letter name 'o'
or 'p'  or 'e' in the same directory where the tr command is executed it
generates an error or unexpected result.
Following is the the simple commands used to re-produce this bug

r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:]
HELLO
r...@mme1-f101-1:# touch o
r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:]
tr: misaligned [:upper:] and/or [:lower:] construct
r...@mme1-f101-1:# rm o
r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:]
HELLO
r...@mme1-f101-1:# touch p
r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:]
tr: misaligned [:upper:] and/or [:lower:] construct
r...@mme1-f101-1:# rm p
r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:]
HELLO
r...@mme1-f101-1:# touch e
r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:]
hello
r...@mme1-f101-1:# rm e
r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:]
HELLO
r...@mme1-f101-1:#


Thanks,
Gaafer Goreish
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to