From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24018 invoked by alias); 10 Feb 2017 23:17:36 -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 24000 invoked by uid 89); 10 Feb 2017 23:17:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*R:D*edu X-HELO: mailsrv.cs.umass.edu Received: from mailsrv.cs.umass.edu (HELO mailsrv.cs.umass.edu) (128.119.240.136) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Feb 2017 23:17:34 +0000 Received: from [192.168.1.8] (124-171-107-226.dyn.iinet.net.au [124.171.107.226]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id 803C8401E830; Fri, 10 Feb 2017 18:17:31 -0500 (EST) Reply-To: moss@cs.umass.edu Subject: Re: cygpath References: <91DCAC3CB99C724EB365BB64677FBE7B139A86@MX204CL04.corp.emc.com> <151946397.20170210223617@yandex.ru> <91DCAC3CB99C724EB365BB64677FBE7B139AF9@MX204CL04.corp.emc.com> To: cygwin@cygwin.com From: Eliot Moss Message-ID: Date: Fri, 10 Feb 2017 23:17:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <91DCAC3CB99C724EB365BB64677FBE7B139AF9@MX204CL04.corp.emc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00146.txt.bz2 On 2/10/2017 3:03 PM, Gluszczak, Glenn wrote: > * is a legal character for ls but perhaps not cygpath? I don't know. > No files or directories are using * in the name. > > Not sure about incorrect terminal settings as I never touched any. > It shows up in mintty and ssh equally. The characters that appear vary. > > Some non-existent paths do *not* produce the gibberish. > > %%%cygpath -w /aaa/bbb/* > C:\cygwin\aaa\bbb\ Yes, but I found something interesting when I did this: echo "$(cygpath -w /usr/non-existent/*)" > mytemp od -c mytemp revealed that there is a three-byte sequence after the output of C:\cygwin\usr\non-existent\ and before the newline added by echo. I guess it's some representation of * that does not show up on the terminal, but it did strike me as a little strange ... Regards - EM -- 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