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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=FtSKRol6LA9LFFiY e25Ml6p0vKRnERVvWDs1IfwnhxKiuswG1+VImpXbJDvsD/xgMi64uNrtYVM5EnMS Rqlt8rgxkxzND/4sBCKLD9aqJoalSjCi/iFOxUu2UlAWmu9C6dNgVWxWV+Jot5dl bboSonZi7Z3/52yqQfzq/sDjyuA= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=WW3hrck8MYQLzazB2K7oXL D3pEA=; b=WmxUWRSnaLtwu6eLJ6Y6/6N1yimIp9N4353X3jOMkjKbTf997hDGPQ Tgi/bPXP3xXQQnFoIxqfqxELlG45vbTCqQXEQBlY5Ijb7W3rq62xyWyNqsFmSN3v NVG1A9K8e74NsuAGTWoPc2sjlYZyR6SU1atO75EcnAV0DM6otjGVI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=1.2 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, tofu, H*r:ip*192.168.1.10, yandexru X-HELO: forward3p.cmail.yandex.net Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Sat, 11 Feb 2017 00:34:39 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <126350824.20170211003439@yandex.ru> To: "Gluszczak, Glenn" , cygwin AT cygwin DOT com Subject: Re: cygpath In-Reply-To: <91DCAC3CB99C724EB365BB64677FBE7B139AF9@MX204CL04.corp.emc.com> References: <91DCAC3CB99C724EB365BB64677FBE7B139A86 AT MX204CL04 DOT corp DOT emc DOT com> <151946397 DOT 20170210223617 AT yandex DOT ru> <91DCAC3CB99C724EB365BB64677FBE7B139AF9 AT MX204CL04 DOT corp DOT emc DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Gluszczak, Glenn! > * is a legal character for ls but perhaps not cygpath? "*" is not a legal path name character. And cygpath expects a path. > I don't know. > No files or directories are using * in the name. See above. > Not sure about incorrect terminal settings as I never touched any. > It shows up in mintty and ssh equally. The characters that appear vary. For me, it shows a single blank box character. (The required character is missing from the font I'm using in mintty.) > Some non-existent paths do *not* produce the gibberish. > %%%cygpath -w /aaa/bbb/* > C:\cygwin\aaa\bbb\ Works equally for me. $ cygpath -w /usr/non-existent/* | od -t x1 0000000 43 3a 5c 50 72 6f 67 72 61 6d 73 5c 43 79 67 77 0000020 69 6e 5f 36 34 5c 75 73 72 5c 6e 6f 6e 2d 65 78 0000040 69 73 74 65 6e 74 5c ef 80 aa 0a 0000053 $ cygpath -w /aaa/bbb/* | od -t x1 0000000 43 3a 5c 50 72 6f 67 72 61 6d 73 5c 43 79 67 77 0000020 69 6e 5f 36 34 5c 61 61 61 5c 62 62 62 5c ef 80 0000040 aa 0a 0000042 Also please don't top-post https://cygwin.com/acronyms/#TOFU and don't quote raw email addresses. https://cygwin.com/lists.html -- With best regards, Andrey Repin Saturday, February 11, 2017 00:27:02 Sorry for my terrible english... -- 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