X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash adds dot to $PATH
References: <CAM9pMnPHk+78886DU86tKY6HmOQQUsZLFQk2XoOCMR-aVcUvwg@mail.gmail.com>	<53186D47.1030709@cs.umass.edu>	<CAM9pMnOc9XRk2OqJpuXY7Q7_ZXv+w6RL1LfCO3pAnSOmpXuszA@mail.gmail.com> <CAM9pMnNec_Sr2wx+wpvbFTNs3TaJFBioU_tQEzzafyw+rBuSYA@mail.gmail.com>
In-Reply-To: <CAM9pMnNec_Sr2wx+wpvbFTNs3TaJFBioU_tQEzzafyw+rBuSYA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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

