delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/15/16:17:47

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: <000701c31b1e$fd6aa760$c99ac250@leper>
Reply-To: <fergus AT bonhard DOT uklinux DOT net>
From: <fergus AT bonhard DOT uklinux DOT net>
To: <cygwin AT cygwin DOT com>
Cc: <fergus AT bonhard DOT uklinux DOT net>
Subject: Re: cygpath : minor inconsistency in output
Date: Thu, 15 May 2003 21:17:20 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

>> D: is not the same as D:/.
>> The former is the current default directory on the D: drive.
>> The latter is the root directory on the D: drive.

Thanks for responding so quickly. It sounds as a though you have a highly
developed grip on the semantics here. Are you saying that under the
circumstances described the respective output from cygpath -m / (i.e.
"c:/Cygwin" no trailing slash in the one case and "d:/" trailing slash in
the other) are precisely correct?

If so, that's fine, and thank you for thinking about it and letting me know.
I'll shut up after hearing what you say.

(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.)

Fergus


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