delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/21/18:11:06

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: <200205212210.g4LMAZ414687@crikeymail.franz.com>
To: cygwin AT cygwin DOT com
Subject: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10
Date: Tue, 21 May 2002 15:10:35 -0700
From: Kevin Layer <layer AT franz DOT com>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019