Where, or how, is BASH set?

Matthew Woehlke mw_triad@users.sourceforge.net
Thu Jul 26 15:14:00 GMT 2007

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


    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.

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/

More information about the Cygwin mailing list