tag 17121 notabug
thanks

On 03/27/2014 03:43 AM, Benoît DUNAND-LAISIN wrote:
> Problem discovered in tr (GNU coreutils) 8.13 on a Ubuntu 12.04.
> 
> Running those commands:
> 
> cd $HOME
> echo "Linux" | tr [:upper:] [:lower:]

Underquoted.  Run:

echo [:upper:] [:lower:]

and then

echo "[:upper:]" "[:lower:]"

in the two directories to spot the difference.  (Hint - in one of your
two directories, a shell glob is matching a one-byte file name)

As this is user error and not a bug in tr, I'm marking this bug as
closed, but feel free to add more comments if you still need help
understanding the issue.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to