X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Matthew Woehlke <mw_triad@users.sourceforge.net>
Subject:  Re: Where, or how, is BASH set?
Date:  Thu, 26 Jul 2007 10:13:59 -0500
Lines: 25
Message-ID: <f8adnn$jcr$1@sea.gmane.org>
References:  <46A85E7C.40708@bonhard.uklinux.net> <ca5781c80707260636x5c55ad5di3bdf8f7ab0c64d09@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.4.0
In-Reply-To: <ca5781c80707260636x5c55ad5di3bdf8f7ab0c64d09@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

yitzle wrote:
> $ cygpath.exe -w /bin
> C:\cygwin\bin
> 
> $ cygpath.exe -w /usr/bin
> C:\cygwin\bin
> 
> /usr/bin is a link to /bin
> 
> Can't find where BASH is exported...

JFTR...

    Shell Variables
        The following variables are set by the shell:

        BASH   Expands to the full file name used to invoke this 
instance of bash.

...so it is set by bash itself, not any script.

-- 
Matthew
So, an astrophysicist, a quantum physicist, and an astrologer walk into 
a bar...


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

