delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/25/17:58:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=djBBY8ovwMN097g0
4dLAJhKZdz7f2VLqRE60wxvGRTYazupOzCpWv2QAzGPeZQiGgbI3BBMjgB/VUNsh
hPd6qZAEX9GbIxuyZOU4E+zUJpctxF8XsDlrNty1E7O+MN7UqIPOTxf67ZPD/gGd
MORxHS35m52/i9DY5DC4v2eP6sg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=kY6QbwxmV5icFPQgjcZziQ
RQ/0M=; b=QXGDGbxj0sJC+5Qe9q2u54BSrglZk7O9ylLRWaPtsIxFxCuOB5hK39
SwEugKWOARZyRcA+aiMBLzo0sheSMecm3cOyGOPbxLHZPvUf995IPbWel0phyYtR
f86AVRiqaAmLkONbXa3DdaIGa4ezEOmYtt+FbAlOF1Kd3zyIR+7bU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=Hx-languages-length:1492, H*r:192.168.178, H*RU:sk:mrelaye, H*r:sk:mrelaye
X-HELO: mout.kundenserver.de
Subject: Re: Bug in arguments in console
To: cygwin AT cygwin DOT com
References: <jdbfubh7aigp2955ohgptlquahj73tmbna AT 4ax DOT com> <49ff4bc2-4cbd-01e1-3194-d47dbd122607 AT tiscali DOT co DOT uk>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <57E84881.5020603@towo.net>
Date: Sun, 25 Sep 2016 23:58:25 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <49ff4bc2-4cbd-01e1-3194-d47dbd122607@tiscali.co.uk>
X-UI-Out-Filterresults: notjunk:1;V01:K0:9Q6s9RGEqpY=:lTk3AIbo3hFGL6CiorxpwO KhJ8JqjSrZ4CH1jhrWEPY30uKAyIDZn8+1Ij2EkYvjBITDbsQJFzTPrm8kUDk8JyjzLlB9UPg KLsX30NYNMkclQEUeuDHr5sexYOegrU0xM62/VGekiuL+W7i20Sha6Ich4KHRkc2aU1xbuySr OHLYtSv4yILWr13ts6zyzETRVPCQgIoccmc5K1p68DHlDkXgQMlyElRUX311toQ0PjHiGNe02 8xfBnQdVjgxSXauVmOTvn55KwKu6pSHpDQsRCipZDDgW69meFIA1mY033T1JNSjW8OULR8jzn v+luSf1ZrlDUZypdawx4nSXY2h76Q2U64DzhADtm8sO0nNbhTx9ZzwjDGoB11PSAQauh0bShm XQez9+TVtzRf7Ue2B3AFCAaBxY7839E1P8lMzAZXCUU+9keEdreGd/XPI9lSIyFMPwp/DduPo dlwuAxrcu7KVvcti6laSidfYndLDSuroPcwYzU1w+GfdxizdHx4U3z8bKD50LnO66usiCrI73 HKZoC4E1l6tcFff1sTanI18mrOosr1HLLJyeu51chHw5cxMO7njERJTlOsbdTaRWTTi+DEQtg 9BAX5aax9Xxql21aVmD3Y7ND2Ck8V/xGd0P4m3ijiKhfu7ejf9W2ZVbgnQ6rM8UjoIUfB2mA4 ix4LBjNdYsUP+dtaL6ZB5gRjcWJSZMQb/ElA73wDsbhNvQs3w0CNCZWfi46gFNWiSPfZtAhVM YBEaFaOsdpxSL5z3uY8gxVSJbuJeFlx2Iv9L30HZfdqCEcjD+jEQO24JSUmXAYZSRRDrSBF0w CCwqBup6DrNZR76jP0f3nNOJ9PtB1JAy4wwSqTnJrD6Sx5Y58wvNHfLM4yUa/h89SyuoWVJT4 n/OPLvtwsFlgTjCxS4sd9CQPn5cybJVjIAXbt1N0+QPlbUa2drhBOkEfUJIUj+
X-IsSubscribed: yes

Am 25.09.2016 um 13:11 schrieb David Stacey:
> 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. Try 
> again from a Bash shell.
He's talking about an interworking issue between Windows cmd and cygwin 
(which isn't completely out of scope of cygwin);
and in fact, there has been a recent change, look for the mail thread 
"pass arguments enclosed with double quotes from bash shell to windows 
program".
In fact, with two files, one of them containing non-ASCII characters, 
like ab.txt and дц.txt, the simplified test case
C:\whatever>echo *.txt
displays this with cygwin 2.5.2:
ab.txt дц.txt
and this with cygwin 2.6.0:
*.txt

Considering that the change, as I remember, was a quite successful 
workaround for problems with quote marks, it may be considered a 
trade-off with changed bias, rather than a bug, however :)
------
Thomas

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019