delorie.com/archives/browse.cgi | search |
From: | chet AT odin DOT INS DOT CWRU DOT Edu (Chet Ramey) |
Subject: | Re: bash env parse broken |
6 Sep 1997 19:41:15 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <970904133102.AA26812.SM.cygnus.gnu-win32@odin.INS.CWRU.Edu> |
Reply-To: | chet AT po DOT cwru DOT edu |
Mime-Version: | 1.0 |
Original-To: | eric AT osiris DOT com DOT au |
Original-Cc: | gnu-win32 AT cygnus DOT com |
In-Reply-To: | Message from eric@osiris.com.au of Tue, 2 Sep 97 21:33:30 est (id <9709021133.AA20403@osiris.com.au>) |
Read-Receipt-To: | chet AT po DOT CWRU DOT Edu |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
> 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 AT po DOT CWRU DOT Edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |