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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=bB2dMpMWITbs83Ve 2MvdZegnJlCpGtuoCYQgmRaZAKoZEB4fVq6ztNGPPqj9B3ENJpq1Soz0Ycn4G9PY Gvm5Bh/7yXLFYXAQmPsyHrVOOVZKfYrJflW7FUILBA9LT1hHuWRJjncqhk2prAlr +PlZaQgC9aqPmDqgg0jwPV3EKyQ= 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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=BuNhyPh21z+4ra3C90awcO m3CHA=; b=N3TS62CeycLJWANronXeOo19GUC7d0npuvKXTmf3evwoO0f8/lYKwc dBcRg5FhNDGpLUmXZaDc4QEoxyxN2Y3+x4zNcjY/FZ9G2FQkaCX975fDjmCiVsMG Kjpvv3gkDUufQyQ034T8aNPUkf+D2/LfvgBjQZEejOMDOCdm+VSmk= 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=-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 Reply-To: moss AT cs DOT umass DOT edu Subject: Re: cygpath 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> To: cygwin AT cygwin DOT com From: Eliot Moss Message-ID: Date: Fri, 10 Feb 2017 18:17:07 -0500 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 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