Subject: Re: bash env parse broken
From: [email-masked] (Chet Ramey)

6 Sep 1997 19:41:15 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Original-To: [email-masked]
Original-Cc: [email-masked]
In-Reply-To: Message from [email-masked] of Tue, 2 Sep 97 21:33:30 est (id <[email-masked]>)
Read-Receipt-To: [email-masked]
Original-Sender: [email-masked]

> on NT4.0sp3 gnu-win32 B18 ... sourcing the following 12 lines into bash:
> 
> HOMEPATH="\"
> export HOMEPATH
> UNAME="NT 4.0"
> export UNAME
> NEW_RELEASE="28/08/97"
> export NEW_RELEASE
> TCL_LIBRARY="C:/gnuwin32/b18/tcl/lib/tcl7.6"
> export TCL_LIBRARY
> PATH=".:/bin:/gnuwin32/b18/H-i386-cygwin32/bin:/gnuwin32/b18/tcl/bin:/WINNT/system32:/WINNT:/msdev/bin:/fax/dev:/fax/dev"
> export PATH
> GCC_EXEC_PREFIX="C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\"
> export GCC_EXEC_PREFIX

You have an unmatched double quote.  The assignment to HOMEPATH
doesn't end until the first double quote after the `UNAME='. 
Backslashes quote double quotes inside double-quoted strings.  I don't
know why bash throws an exception on cygwin32, but on Unix the error
messages are correct.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, Case Western Reserve University	Internet: [email-masked]
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".