delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/15/18:14:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3EC4112A.4050609@mscha.org>
Date: Fri, 16 May 2003 00:14:02 +0200
From: Michael Schaap <cygwin AT mscha DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030506 Thunderbird/0.1a
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygpath : minor inconsistency in output
References: <000701c31b1e$fd6aa760$c99ac250 AT leper>
In-Reply-To: <000701c31b1e$fd6aa760$c99ac250@leper>
X-Virus-Scanned: by amavisd-milter 0.1 @ mscha.org (http://www.amavis.org/)

fergus AT bonhard DOT uklinux DOT net wrote:

>(But it still seems not quite right to me: maybe I'm misunderstanding the
>question that cygpath actually poses, which is why these different responses
>to it seem, to me, to be inconsistent. Hence my earlier suggestion that
>"c:/Cygwin/" and "d:/" would be consistent with one another and seem to me
>to be responses to the identical class of question. As things stand, it's
>giving me grief.)
>
I'm sure this won't lighten your grief, but this _is_ in fact consistent 
with UNIX-like behaviour:

$ cd
$ pwd
/home/mscha
$ cd /
$ pwd
/

so, changing it might cause even more grief.
(I'm sure a P to add an option to always include a trailing slash - -s, 
-l, -a are taken, so perhaps -h, --slash? - would be TC. ;-) )

– Michael


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