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:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=JVytBIp7YqwtzXJ3 eKVjsTn1k70Z1Br/alSmKkEOopvqTOEGCToTNXhTF+Io+eG4zXYEVVcJEVNdhBh0 NrHeTjgQl5e1quT3tbSgpFNFyguTJY1hou1ETO0GpW6D7aLpzOnWHmAjkjEX+Fsr TUb0Z7NIqA2K7lT+jXGmb2cQZOQ= 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:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=P7y/iw1kgyG2wPpM2E3nvu M6qyk=; b=niTZ982AQFTQtN353rGyR0S3kFXWiwGhREd5IpVdoAlI/YBgRKSoER aWRJLoFsmjEXLZVPvTGJG9MIb9A98GXnL56p8YNhz19ioklRg086xaHmeChvcpFq hjox8nbTxPOmC9J4vC9cfm0+gl9yzlIJPs2sNwUSZRSh4LttFhcz4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173017pub.verizon.net Message-id: <5304E874.20906@cygwin.com> Date: Wed, 19 Feb 2014 12:23:00 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com 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 AT cygwin DOT com Subject: Re: $PATH contains dot but unclear where it comes from References: <1811171498 DOT 20140206155616 AT mtu-net DOT ru> <5304D694 DOT 9090104 AT cs DOT umass DOT edu> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 2/19/2014 12:16 PM, Robert Klemme wrote: > On Wed, Feb 19, 2014 at 5:06 PM, Eliot Moss wrote: >> As others have said, cygwin does not add . to the path >> itself. It must be something in your .bash_profile, >> .bashrc, or other script sourced from them. >> >> Going through the output of your login with tracing >> enabled, as previously described, really is a straightforward >> way to track this down ... > > You are right - that's why I did that already. You would have found > out by reading earlier emails. But to no avail. As I have written > already the very first line of the log looks like this > > + PATH='/usr/local/bin:/usr/bin:/cygdrive/c/PROGRAM FILES (X86)/NVIDIA > CORPORATION/PHYSX/COMMON:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS > CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM > FILES (X86)/RSA SECURID TOKEN COMMON:/cygdrive/c/PROGRAM FILES/COMMON > FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES > (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS > LIVE:/cygdrive/c/Windows/SYSTEM32:/cygdrive/c/Windows:/cygdrive/c/Windows/SYSTEM32/WBEM:/cygdrive/c/Windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM > FILES/DELL/DELL DATA PROTECTION/ACCESS/ADVANCED/WAVE/GEMALTO/ACCESS > CLIENT/V5:/cygdrive/c/PROGRAM FILES (X86)/NTRU CRYPTOSYSTEMS/NTRU TCG > SOFTWARE STACK/BIN:/cygdrive/c/PROGRAM FILES/NTRU CRYPTOSYSTEMS/NTRU > TCG SOFTWARE STACK/BIN:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS > LIVE/SHARED:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE > COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT > ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) > MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES > (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE > COMPONENTS/IPT:/cygdrive/c/Program Files/WIDCOMM/Bluetooth > Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth > Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL > SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL > SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management > Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) > Management Engine Components/IPT:/cygdrive/c/Program Files > (x86)/Intel/Intel(R) Management Engine > Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) > Management Engine Components/IPT:/cygdrive/c/Program > Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common > Files/Intel/WirelessCommon:/cygdrive/c/Users/rklemme/Applications/SysinternalsSuite:.' > > It's from /etc/profile and the line looks like this > > PATH="/usr/local/bin:/usr/bin:${PATH}" > > The dot is already in the variable before bash even modifies it. So that means you need to look in your Windows environment to understand where this comes from. Don't discount any start-up batch files (i.e. cygwin.bat), etc., that you may be using to kick-start bash either. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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