delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/10/15:52:37

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=HLnZ1kS6e9r9e2vZY9n05D9+o8ebn
oV6GyPWC/XYvtv8BAbf5mGLglqfbjgjUrzdeegX0SngdGrjbJnX/HoRNBDJo/zqE
rFUC37GrPrv5VlomRlSLp8kd/uToBCcSYZjVXegGKR58gETbi4fmZn/Cc+KUMrdb
jMRzrpOmE7omqE=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=q+4bShxrUObS/9lOOFnP/ay2XsQ=; b=YNT
hFxY3zZgxziHLeAYuXhadEPrzdkX89/tHSjiZ9uFdQkeUnNXU1UCfJ9kKYOZ7bJn
4+KpZ7AvNo/xIb7xFUTRbStsDePhUIrCcMpYgimvGCNRXZx30/IcS9ZeCLD2OYlj
n/gPov602P/loKfL1F4XkhO7+fl3ySdcRal7Pcqw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.4 required=5.0 tests=BAYES_00,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*MI:CAOC2fq9Ks, H*MI:1aEh8DTt, H*MI:sk:U45rWWW, H*MI:sk:iMQuatx
X-HELO: esa4.dell-outbound.iphmx.com
From: "Gluszczak, Glenn" <Glenn DOT Gluszczak AT dell DOT com>
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com v1AKq2XH022110
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com v1AKq2XH022110
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: cygpath
Date: Fri, 10 Feb 2017 20:51:43 +0000
Message-ID: <91DCAC3CB99C724EB365BB64677FBE7B139B75@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> <91DCAC3CB99C724EB365BB64677FBE7B139B3A AT MX204CL04 DOT corp DOT emc DOT com> <CAOC2fq9Ks=iMQuatxXvPrMHd7j-N=1aEh8DTt=U45rWWWjWFTw AT mail DOT gmail DOT com>
In-Reply-To: <CAOC2fq9Ks=iMQuatxXvPrMHd7j-N=1aEh8DTt=U45rWWWjWFTw@mail.gmail.com>
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd54.lss.emc.com
X-RSA-Classifications: public
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v1AKqaJv026305

Thanks for the explanation.  Just odd how cmd.exe only sometimes misbehaves.

%%%cygpath -w /usr/a/b/*
C:\cygwin\usr\a\b\

%%%cygpath -w /a/b/*
C:\cygwin\a\b\

%%%cygpath -w /a/b/c/*
C:\cygwin\a\b\c\


-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Michael Enright
Sent: Friday, February 10, 2017 3:43 PM
To: cygwin AT cygwin DOT com
Subject: Re: cygpath

On Fri, Feb 10, 2017 at 12:31 PM, Gluszczak, Glenn wrote:
> Sorry, I forgot the user I log in as is switching to cmd.exe.
>
> This doesn't happen in sh or tcsh, so it is probably a non-issue.
>

My results are from running a "normal" bash-under-mintty setup.

If I go to a cmd.exe window and start bash,

Z:\>cygpath -w "/usr/bin/*"
C:\cygwin\bin\?

Z:\>

This is consistent with the explanation that an asterisk ends up having a private-use character substituted in for it.

--
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


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019