On 3/11/2011 9:44 AM, Tim Daneliuk said this:
> On 3/11/2011 9:39 AM, Eric Blake said this:
>> On 03/11/2011 08:28 AM, Tim Daneliuk wrote:
>>> echo /opt/IBN/df | tr [A-Z] [a-z]
>>>
>>> produces:
>>>
>>>/opt/xxx/df
>>
>> Let me guess - you have a file named 'x' in the current directory.
>>
>> Qu
On 03/11/2011 08:34 AM, marco atzeri wrote:
> $ echo /opt/IBN/df | tr [A-Z] [a-z]
> /opt/ibn/df
>
> $ uname -a
> CYGWIN_NT-5.1 1.7.8(0.236/5/3) 2011-03-01 09:36 i686 Cygwin
>
> $ set |grep LANG
> LANG=C.UTF-8
One more thing to note. According to POSIX,
tr '[A-Z]' '[a-z]' is only portable in th
On 3/11/2011 10:39 AM, Eric Blake wrote:
On 03/11/2011 08:28 AM, Tim Daneliuk wrote:
echo /opt/IBN/df | tr [A-Z] [a-z]
produces:
/opt/xxx/df
Let me guess - you have a file named 'x' in the current directory.
Quote your arguments, so that the shell won't glob them:
echo /opt/IBN/df | tr
On 03/11/2011 08:44 AM, Tim Daneliuk wrote:
> On 3/11/2011 9:39 AM, Eric Blake said this:
>> On 03/11/2011 08:28 AM, Tim Daneliuk wrote:
>>> echo /opt/IBN/df | tr [A-Z] [a-z]
>>>
>>> produces:
>>>
>>>/opt/xxx/df
>>
>> Let me guess - you have a file named 'x' in the current directory.
>>
>> Quot
On 3/11/2011 9:39 AM, Eric Blake said this:
> On 03/11/2011 08:28 AM, Tim Daneliuk wrote:
>> echo /opt/IBN/df | tr [A-Z] [a-z]
>>
>> produces:
>>
>>/opt/xxx/df
>
> Let me guess - you have a file named 'x' in the current directory.
>
> Quote your arguments, so that the shell won't glob them:
>
On 03/11/2011 10:39 AM, Eric Blake wrote:
On 03/11/2011 08:28 AM, Tim Daneliuk wrote:
echo /opt/IBN/df | tr [A-Z] [a-z]
produces:
/opt/xxx/df
Let me guess - you have a file named 'x' in the current directory.
Quote your arguments, so that the shell won't glob them:
echo /opt/IBN/df | t
On 03/11/2011 10:28 AM, Tim Daneliuk wrote:
echo /opt/IBN/df | tr [A-Z] [a-z]
produces:
/opt/xxx/df
not:
/opt/ibn/df
Both Linux and FreeBSD produce correct results. Is this a known
'tr' bug?
$ env|grep LANG
LANG=en_US.UTF-8
GDM_LANG=en_US.UTF-8
[10:38:15] rtho
On 03/11/2011 08:28 AM, Tim Daneliuk wrote:
> echo /opt/IBN/df | tr [A-Z] [a-z]
>
> produces:
>
>/opt/xxx/df
Let me guess - you have a file named 'x' in the current directory.
Quote your arguments, so that the shell won't glob them:
echo /opt/IBN/df | tr '[A-Z]' '[a-z]'
This is not cygwin
On Fri, Mar 11, 2011 at 4:28 PM, Tim Daneliuk wrote:
> echo /opt/IBN/df | tr [A-Z] [a-z]
>
> produces:
>
> /opt/xxx/df
>
> not:
>
> /opt/ibn/df
>
> Both Linux and FreeBSD produce correct res
echo /opt/IBN/df | tr [A-Z] [a-z]
produces:
/opt/xxx/df
not:
/opt/ibn/df
Both Linux and FreeBSD produce correct results. Is this a known
'tr' bug?
--
Tim Daneliuk
tun...@tundraware.com
--
Probl
10 matches
Mail list logo