$PATH differs in different context

Doug Wyatt dwyatt@sunflower.com
Fri Oct 15 15:00:00 GMT 1999


Hi,

I simply linked /bin when I set up my Cwgwin32 installation:

    /bin -> /cygnus/cygwin-b20/H-i586-cygwin32/bin

I was just playing around with Andy Piper's 'check_cygwin_setup.sh"
and I noticed that $PATH is different in interactive Bash w/resp to the
$PATH value in a shell command file.

Bash$ echo $PATH

yields...   "/usr/local/bin:/bin:..."
    ~~~~
#!/bin/bash
#
echo $PATH

yields...  "/usr/local/bin:/cygnus/cygwin-b20/H-i586-cygwin32/bin:..."

Why is any processing done on the contents of the PATH variable?

Doug

==========================================================
Doug Wyatt                    E-Mail: dwyatt@sunflower.com
Sys Admin                      Phone: 785-843-4099
Kohlman Systems Research, Inc.   Fax: 785-843-6459
319 Perry St., Lawrence, KS  66044  USA

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list