Gaafer Goreish wrote: > 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.
Thank you for your report. However this is not a bug in tr. It is insufficient quoting of shell arguments. > Following is the the simple commands used to re-produce this bug > > r...@mme1-f101-1:# echo hello | tr [:lower:] [:upper:] That has insufficiently quoted arguments. The shell will expand them. You must quote them. Try this: echo hello | tr "[:lower:]" "[:upper:]" Your question is a variation on the theme behind this FAQ: http://www.gnu.org/software/coreutils/faq/#expr-2-_002a-3-does-not-work Bob _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
