bash builtin pwd returns Windows style names

Christopher Faylor cgf-noreply@cygwin.com
Wed Nov 20 09:24:00 GMT 2002


On Wed, Nov 20, 2002 at 12:08:09PM +0100, Corinna Vinschen wrote:
>On Wed, Nov 20, 2002 at 10:54:16AM +0100, Richter Norbert wrote:
>>I observed that in previous releases of Cygwin (I think it was 1.3.12)
>>the bash builtin pwd returned directory names in the form:
>> /cygdrive/c/classes
>> 
>>but if I try this now with the release 1.3.14 (and also with 1.3.15 and
>>bash 2.05b) I get
>> c:/classes
>
>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

Try doing a "cd c:/tmp" or something similar.  Bash will dutifully report
that you are in the c:/tmp directory at that point.

cgf

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



More information about the Cygwin mailing list