On 03/27/2014 05:06 PM, Eric Blake wrote:
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)
FWIW: here, the 'w' program comes from the 'procps' package:
$ ls -l /usr/bin/[:lower:]
-rwxr-xr-x 1 root root 18896 Dec 17 16:58 /usr/bin/w
$ /usr/bin/w --version
w from procps-ng 3.3.8
Have a nice day,
Berny