delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/01/17:56:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
User-Agent: Mutt/1.5.5.1i Hamster-Fr/2.0.1.10
Date: Thu, 1 Jul 2004 23:56:40 +0200
From: Luc Hermitte <hermitte AT free DOT fr>
To: cygwin AT cygwin DOT com
Subject: Re: Bug: "cygpath -w ." returns ".\" instead of "."
Message-ID: <20040701215640.GB3708@jade>
References: <EEEEICLFFGBGJBFBMGLDOEBJCLAA DOT trevor AT alphatrade DOT com>
Mime-Version: 1.0
In-Reply-To: <EEEEICLFFGBGJBFBMGLDOEBJCLAA.trevor@alphatrade.com>
X-Operating-System: CYGWIN_NT-5.1
X-IsSubscribed: yes

Hello,

* On Thu, Jul 01, 2004 at 02:42:46PM -0700, Trevor Baker <trevor AT alphatrade DOT com> wrote:
> Now in cygwin this may cause problems elsewhere, such as in the following
> trivial script:
> #----------
> #!/bin/sh
> 
> BASEDIR=`cygpath -w .`
> FILE="$BASEDIR/out.txt"
> 
> touch "$FILE"
> #----------

use -m instead of -w

> I'm using the latest cygwin v1.5.10-3 on NT2k. Don't know cygpath
> version...sorry.

cygpath -v

-- 
Luc Hermitte
http://hermitte.free.fr/cygwin/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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