bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

Kevin Layer layer@franz.com
Wed May 22 00:58:00 GMT 2002


I noticed that my windows programs see a strange and bogus PATH.

It is demonstrated here, from cmd.exe:

   Microsoft Windows 2000 [Version 5.00.2195]
   (C) Copyright 1985-2000 Microsoft Corp.

   c:\>PATH C:\Cygwin\bin;c:\cygwin\usr\bin;C:\Cygwin\usr\local\bin

   c:\>bash -i
   bash-2.05a$ echo $PATH
   /bin:/usr/bin:/usr/local/bin
   bash-2.05a$ /c/winnt/system32/cmd
   Microsoft Windows 2000 [Version 5.00.2195]
   (C) Copyright 1985-2000 Microsoft Corp.

   c:\>path
   PATH=c:\cygwin\bin;c:\cygwin\\bin;c:\cygwin\usr\local\bin
===============================^^
   c:\>

Notice the bogus double backslash.

Is this a known bug?

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