From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112693 invoked by alias); 25 Sep 2016 21:58:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 112685 invoked by uid 89); 25 Sep 2016 21:58:34 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 25 Sep 2016 21:58:32 +0000 Received: from [192.168.178.45] ([95.91.214.50]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0M2u1e-1azCzK3DyY-00sbC3 for ; Sun, 25 Sep 2016 23:58:28 +0200 Subject: Re: Bug in arguments in console To: cygwin@cygwin.com References: <49ff4bc2-4cbd-01e1-3194-d47dbd122607@tiscali.co.uk> From: Thomas Wolff Message-ID: <57E84881.5020603@towo.net> Date: Sun, 25 Sep 2016 22:15:00 -0000 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> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 X-SW-Source: 2016-09/txt/msg00328.txt.bz2 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