'tr' Bug
Reid Thompson
Reid.Thompson@ateb.com
Fri Mar 11 15:44:00 GMT 2011
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 | tr '[A-Z]' '[a-z]'
>
> This is not cygwin-specific.
>
you are correct ;)
thank you
$ echo /opt/IBN/df | tr '[A-Z]' '[a-z]'
/opt/ibn/df
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list