Bug in arguments in console

Marco Atzeri marco.atzeri@gmail.com
Sun Sep 25 17:20:00 GMT 2016


On 25/09/2016 13:31, Bengt Larsson wrote:
> David Stacey wrote:
>> On 25/09/16 12:00, Bengt Larsson wrote:
>>> C:\Users\Bengt\Desktop\src\mg2a\temp>\cygwin64\bin\echo åäö
>>> åäö
>>>
>>> C:\Users\Bengt\Desktop\src\mg2a\temp>\cygwin64\bin\echo "åäö"
>>> "åäö"
>>>
>>> (the quote marks are left in)
>>>
>>> C:\Users\Bengt\Desktop\src\mg2a\temp>ls -l
>>> total 1
>>> -rw-r--r-- 1 Bengt None  0 Sep  7 01:07 blah.txt
>>> -rw-r--r-- 1 Bengt None 23 Sep  7 04:53 versions
>>> -rw-r--r-- 1 Bengt None  0 Sep  7 11:05 åäö.txt
>>>
>>> C:\Users\Bengt\Desktop\src\mg2a\temp>ls *.txt
>>> ls: cannot access '*.txt': No such file or directory
>>
>> It looks as if you're using a Windows command prompt rather than Bash.
>> Both 'problems' are actually a feature of the command prompt.
>
> No they're not. It worked in 2.5.2.
>
>> Try again
>>from a Bash shell.
>
> The arrogance of it.
>

Hi Bengt,
your answer is for me puzzling. What do you mean ?

I see no problem on bash, for both case with mintty and with
windows console; but I have not understood what are you using
for your test.

$ uname -srm
CYGWIN_NT-6.1 2.6.0(0.304/5/3) x86_64

  $ ls -l
total 0
-rw-r--r-- 1 marco Administrators 0 Sep 25 18:43 ÜÖÄöäpß.txt

$ ls *.txt
ÜÖÄöäpß.txt


I have also no problem on echo, also for both (mintty and console)

$ echo ÖÄöäüß
ÖÄöäüß

Regards
Marco


--
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