From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124763 invoked by alias); 10 Feb 2017 21:35:48 -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 124748 invoked by uid 89); 10 Feb 2017 21:35:47 -0000 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 Received: from forward3p.cmail.yandex.net (HELO forward3p.cmail.yandex.net) (77.88.31.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Feb 2017 21:35:37 +0000 Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b6:6]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 99ADF20C5D; Sat, 11 Feb 2017 00:35:35 +0300 (MSK) Received: from smtp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1p.mail.yandex.net (Yandex) with ESMTP id E2A3017804C4; Sat, 11 Feb 2017 00:35:34 +0300 (MSK) Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id sIJePPI1Dz-ZXIWxgrg; Sat, 11 Feb 2017 00:35:33 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 10 Feb 2017 21:34:39 -0000 Date: Fri, 10 Feb 2017 21:35:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <126350824.20170211003439@yandex.ru> To: "Gluszczak, Glenn" , cygwin@cygwin.com Subject: Re: cygpath In-Reply-To: <91DCAC3CB99C724EB365BB64677FBE7B139AF9@MX204CL04.corp.emc.com> References: <91DCAC3CB99C724EB365BB64677FBE7B139A86@MX204CL04.corp.emc.com> <151946397.20170210223617@yandex.ru> <91DCAC3CB99C724EB365BB64677FBE7B139AF9@MX204CL04.corp.emc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00142.txt.bz2 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