delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/06/04:54:31

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=hJrA0kopA4vNdEU/
0I38Rp5Fc6PeG865wp1eAfiJP3zXj9jm/TOcHqTyDKx0iuFq5cCUivIdA6M2sZNQ
aC/9rnpQPkcTKC0Tn4SbFHD5nCdkrXj13zeGJtXbfreU1rGxtmFgrX+yAbASxogZ
hB/PqzTm3jReEE+Bop40spja3cw=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=GZlM2q+Yyqd9pPSXPPfZn5
SjzaQ=; b=rDgD1wjkpDtNGF/RcZtUwNGDAmyl+MvX7PRGMbYVoJwNzpfhhXtWad
VPysHQm6AzzaMckHgrYM8OKQTXIzS2LCLWUIkYjYAX4Z6MpcLXgmMuf4SxwMMqwd
lGe0qZOmmUaaMukBGTmPLZJe1Prl+Hu6eCQcMWmGcWl9nanvRNLQo=
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.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f175.google.com
X-Received: by 10.194.2.228 with SMTP id 4mr33313889wjx.146.1436172854065; Mon, 06 Jul 2015 01:54:14 -0700 (PDT)
Subject: Re: Migrating from MKS to Cygwin
To: cygwin AT cygwin DOT com
References: <CAKtakaiJFAwkfTSsxhrNFbgktCqzXdTz2CbT1ikB23wyeHPSxw AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <559A4230.1070609@gmail.com>
Date: Mon, 6 Jul 2015 10:54:08 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
In-Reply-To: <CAKtakaiJFAwkfTSsxhrNFbgktCqzXdTz2CbT1ikB23wyeHPSxw@mail.gmail.com>
X-IsSubscribed: yes

On 7/6/2015 8:12 AM, Sarbjit singh wrote:
> Hi All,
>
> My organization is evaluating Cygwin as a replacement for MKS. We will
> be using Cygwin primarily for running our regression cases on windows
> (Regression cases are common for Unix and  Windows Platforms). Goal is
> to migrate to Cygwin with minimal changes to be done at regression
> test cases scripts (Makefile etc.).
>
> So far, the main challenges are  with "pwd" command and  the
> invocation of applications with .bat extension.
>
> PWD Command:

Iy you need to translate between cygwin style and windows style
paths the best way is to use cygpath

 From Bash prompt:

$ pwd
/cygdrive/c/WINDOWS/system32

$ cygpath -w $(pwd)
C:\WINDOWS\system32

$ pwd
/tmp

$ cygpath -w $(pwd)
E:\cygwin64\tmp

>
> Thanks in Advance,
> Sarbjit

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