|
From: | Bernhard Voelker |
Subject: | bug#17121: tr result is different when executed in /usr/bin |
Date: | Thu, 27 Mar 2014 17:46:23 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |