delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/20/11:31:34

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=tQ3ecbTMV1qtwuMm
HFhwgUPJryqGjryGlLke+/fUF6KV7LuRpSlKYM1lQEU4oheVmUgu6yObexUKqr/j
mVplUwlp9MfcgMTLaUsaId5/TFc/MCttkSOULS99KO8YL9pg++5azug0ZJR1D6zt
kVcAofGKZgvAA+TTCPMO9LOhjJ8=
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=PwcIYVKYe0Gm/0xTeJIwy3
+c1cQ=; b=SVwCE24EC9XavQPycPGFfDIve1JFVi4PmwKAs9jOwze25l49Zotuxp
HtDDbNG6998DuQlaF3Bhdib68cPDri39pbwKn4mDf0TuLa7TtKoCaDtPWC2DHQTW
SpbhdAtOICTEAmx2rdesWt8JQCf0c00RkXxsF6tVB+DDDFK9GhSqU=
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=0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=struggling, Word, npm, cygpath
X-HELO: csmail.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: introduction, fix for npm w.r.t. git, and questions
References: <BLUPR03MB230DECD3A735AF3CB2225CBDF6D0 AT BLUPR03MB230 DOT namprd03 DOT prod DOT outlook DOT com>
To: cygwin AT cygwin DOT com
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <5717A0BD.9090201@cs.umass.edu>
Date: Wed, 20 Apr 2016 11:31:09 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <BLUPR03MB230DECD3A735AF3CB2225CBDF6D0@BLUPR03MB230.namprd03.prod.outlook.com>
X-IsSubscribed: yes

I see no reason why a function similar on concept to what you write,
i.e., one that applies cygpath to convert full Windows paths to cygwin
style paths, should not work.  I have a number of simple function that
do the opposite, allowing me to invoke Windows programs (such as Word)
with cygwin paths by converting to the equivalent Windows path first.

This requires careful attention to quoting and such, but is conceptually
not that hard.  If you end up struggling with it, I can probably write
something suitable for you ...

Eliot Moss

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