delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/24/22:15:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=ZO36dOdBwrRrG8qHncydT5F+tkEQJkr4+SXztWhABSy
E3Av8L+WPWDHbD7mQtt8plfOOmbRWVa3YiZOzPsELY9TUcjXFlendXfV/87sRcOJ
AwixBtx7yH4lX64eMMst8/q8SQudPjKybVShzn/PqHra00vuEaJukWdKlHu3+N7M
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=Zmly+7V0zTg4huaGJvEN3LSchUQ=; b=tmOtQh5Fx2CCJAjpC
Og4gcDeL2XKJvCj8KuwvXLR8cyJ9aLknK0B2SVOjzcg7UdBJR1mSzaYIBrdY6+Qh
7MOMnazLpsEaUCMxPOC39KzPMAbefERAL0f+FtQOwqtWF3V3qqSOnpE/K5UloNX6
rTagrwJqPggtysM1jBJLoExa2o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.tlinx.org
Message-ID: <5330E69C.5010400@tlinx.org>
Date: Mon, 24 Mar 2014 19:14:52 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bash adds dot to $PATH
References: <CAM9pMnPHk+78886DU86tKY6HmOQQUsZLFQk2XoOCMR-aVcUvwg AT mail DOT gmail DOT com> <53186D47 DOT 1030709 AT cs DOT umass DOT edu> <CAM9pMnOc9XRk2OqJpuXY7Q7_ZXv+w6RL1LfCO3pAnSOmpXuszA AT mail DOT gmail DOT com> <CAM9pMnNec_Sr2wx+wpvbFTNs3TaJFBioU_tQEzzafyw+rBuSYA AT mail DOT gmail DOT com>
In-Reply-To: <CAM9pMnNec_Sr2wx+wpvbFTNs3TaJFBioU_tQEzzafyw+rBuSYA@mail.gmail.com>
X-IsSubscribed: yes

Robert Klemme wrote:
   So it could be an OS "feature" but I could not find any
> documentation about this. And it is still totally unclear to me what
> the criterion might be as bash suffers from this but all other shells
> do not. This is weird.
----
I don't think BASH sets the path... it adds to the existing one.

The others may set PATH.

The "." in the path might be the way legacy programs can find their
personal 'libs' in their bin dir, since when most bin's are executed,
the CWD is set to the bindir.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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