delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/21/03:25:40

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: <EF6916EDC9AEBE4A8C3F03DD6073B9C30120866B@exch1.softlab.de>
From: Richter Norbert <Norbert DOT Richter AT softlab DOT de>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: bash builtin pwd returns Windows style names
Date: Thu, 21 Nov 2002 09:31:48 +0100
MIME-Version: 1.0

Hi,

> bash-2.05b$ uname -a
> CYGWIN_NT-5.1 CORINNA 1.3.15(0.63/3/2) 2002-11-07 13:57 i686 unknown
> bash-2.05b$ cd d:
> bash-2.05b$ pwd
> /cygdrive/d

> Corinna

thank you, Corinna, for this hint. It works also with me.

However, if you do

bash-2.05b$ uname -a
CYGWIN_NT-5.0 PC4265 1.3.15(0.63/3/2) 2002-11-07 13:57 i686 unknown
bash-2.05b$ cd c:/tmp
bash-2.05b$ pwd
c:/tmp
bash-2.05b$ /bin/pwd
/cygdrive/c/tmp

Cygwin/bash does not recognize c:/tmp as a windows path name. I am not sure,
if 
it is supposed to do, but perhaps you can tell me.

If you do however

bash-2.05b$ cd 'c:\tmp'
bash-2.05b$ pwd
/cygdrive/c/tmp

the pathname c:\tmp is recognized as windows pathname and implicitely
converted.

Thanks for your help,

Regards, Norbert

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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