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=IRN2sfTAMXSgAfTadmus8lG3LkMZgJS4DIsiEUb3Qoz
	DrYYT6VpQu404LNMlM7G0GqSqPOqhPYX2XREK7SdAv/rH3CXMjgxpGSrGlxsZvi0
	cexWHVaDEv+PbgiYJm2+qtA9KBKqOAd+w+RNvKK2uCZxbZbsDoxILNa/WP7zq34M
	=
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=mRwj49CEV1njGYWhtLjHoUXyYCY=; b=btPVKhjmlwFsG6qNu
	iEUnuo3DGLRBr3U9hTaEelDFRwBJQkP66fFhVp3tJgWdINcTUuFetuj+l/thuZ9J
	iZE/+4AGUXz9dUkwYOXk1YUXOQWnzeMC10hKSg9QCgQEEYX0bcliivwFUPuJJvv+
	WIi1eysgJx7sQMJRlX7/EDA0ss=
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=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <5306223F.30705@cornell.edu>
Date: Thu, 20 Feb 2014 10:41:51 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: $PATH contains dot but unclear where it comes from
References: <CAM9pMnM1=UnbcXRGefXiDVjVXJcVeNej=OGowbwwWBgHeG+MjQ@mail.gmail.com>	<CAM9pMnM-_hZkk5+=44aTKrscqYP-qg1Mv=R4w7Jt2gFjd_WP8w@mail.gmail.com>	<1811171498.20140206155616@mtu-net.ru>	<CAM9pMnMBpULHt7NTx-eOr8DmLkQFTQwtTmMpDmbA8UQqLpUh7g@mail.gmail.com>	<CAM9pMnONy0ua43WKt6yFXzaWyjB4XJmmt7XefYOXer3UYgnEEg@mail.gmail.com>	<CACUHbYP65+7GJpka9OBAkWnJeRonwNDxbXrG7n06n8e76UhR8g@mail.gmail.com>	<CAM9pMnM5_LLvA3YaHgzo12wwUzUak2FHzrXug9G=EfD+bdZQgg@mail.gmail.com>	<5304D694.9090104@cs.umass.edu>	<CAM9pMnMYHrZzV+TFsy7+hqARo0fJgo1o01FKwj_D9UdjD7WajA@mail.gmail.com>	<5304E874.20906@cygwin.com>	<CAM9pMnOfTto2QodJeWiEGdLCEPOKHd=_83GFvUzim6d=Rt0V2w@mail.gmail.com>	<5304FB23.3000005@cygwin.com>	<1369691347.20140219231051@yandex.ru>	<530506C9.6040408@cygwin.com>	<53050C58.6000008@hones.org.uk>	<87ob22n902.fsf@Rainer.invalid>	<53051EE4.20803@cygwin.com>	<937868018.20140220022304@yandex.ru> <CAM9pMnO0ZvjBt_hVK_d=4igUu9nzG=HN=6ZK0tF86SvYEjRpiA@mail.gmail.com>
In-Reply-To: <CAM9pMnO0ZvjBt_hVK_d=4igUu9nzG=HN=6ZK0tF86SvYEjRpiA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2/20/2014 9:12 AM, Robert Klemme wrote:
> 2. only bash invoked as bash shows it - it's not shown when invoked as sh.exe

This fact should enable you to track down the problem.  The bash manual 
explains how it behaves differently when invoked as sh.exe.  I don't 
remember the details, but I think one difference is that different 
startup files are read.

Ken

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

