From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chet Ramey To: eric@osiris.com.au Cc: gnu-win32@cygnus.com Subject: Re: bash env parse broken Date: Thu, 04 Sep 1997 21:18:00 -0000 Message-id: <970904133102.AA26812.SM@odin.INS.CWRU.Edu> References: <9709021133.AA20403@osiris.com.au> X-SW-Source: 1997-09/msg00092.html > 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: chet@po.CWRU.Edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".