delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/19/09:31:38

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=UyxsrnbbBBUOkk+Y
Mn4VgI019BEbidTPbzCFZsB8IhqFqdqBsJ77zYcfBHk8jNPe7SrMIrPCF2QRavgy
Iz02O6k65v4625RaP96Q0ZGcFFCiQWKQfIW9vCdqZYpF0Cx55z/7q+io/9ok+KR4
2khdJmmvEr3ar3e2w5QsTEQCkcg=
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=5SEY4MDYcSjx3U76sbya8A
15L48=; b=CHgqZ0PzMidye+XQUyt0T3+Jc9aHGN3QoxV0hrhUoxT8bAzV8SOvft
ZSbeCrUxMG2D3IaLzCzUEUAbWrSfL+Tjz28VBgcHDT2ZdtSBksaH5x9z9lVmszpQ
vkjgvBas8aGFoymCvTlAWzigYKRADzcwraNLCRA5gVeqSvfXnOwoM=
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.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173025pub.verizon.net
Message-id: <5304C028.3030500@cygwin.com>
Date: Wed, 19 Feb 2014 09:31:04 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
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: <CAM9pMnM1=UnbcXRGefXiDVjVXJcVeNej=OGowbwwWBgHeG+MjQ AT mail DOT gmail DOT com> <CAEhDDbCG7i9GdEE1W2UL9egRdcA786u0xmwsKJXBD5HgXh5XcA AT mail DOT gmail DOT com> <CAM9pMnM-_hZkk5+=44aTKrscqYP-qg1Mv=R4w7Jt2gFjd_WP8w AT mail DOT gmail DOT com> <1811171498 DOT 20140206155616 AT mtu-net DOT ru> <CAM9pMnMBpULHt7NTx-eOr8DmLkQFTQwtTmMpDmbA8UQqLpUh7g AT mail DOT gmail DOT com> <CAM9pMnONy0ua43WKt6yFXzaWyjB4XJmmt7XefYOXer3UYgnEEg AT mail DOT gmail DOT com> <CACUHbYP65+7GJpka9OBAkWnJeRonwNDxbXrG7n06n8e76UhR8g AT mail DOT gmail DOT com> <CAM9pMnM5_LLvA3YaHgzo12wwUzUak2FHzrXug9G=EfD+bdZQgg AT mail DOT gmail DOT com>
In-reply-to: <CAM9pMnM5_LLvA3YaHgzo12wwUzUak2FHzrXug9G=EfD+bdZQgg@mail.gmail.com>

On 2/19/2014 3:37 AM, Robert Klemme wrote:
> I assume there must be some internal mechanism in Cygwin which causes
> this but at the moment I am out of ideas where to look further.  Does
> anybody else have an idea?  Is there maybe some automatism which adds
> the dot because on Windows systems the shell always also looks in the
> current directory?

I don't have a . in my path and I didn't do anything special to
remove it.  If you want to track down where it comes from, run
cmd.exe and type in "c:\cygwin\bin\bash.exe -lix" (assuming you're
seeing this with bash and that your Cygwin installation is in
C:\cygwin) and look for places where PATH is set.  Oh and don't
forget to increase the number of lines in the window's scrollback
buffer to several thousand at least so you'll be able to scroll
back through all the output.  See the "Layout" tab under "Properties"
in the system menu for the window to change this setting.


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

- Raw text -


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