Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 7 Jul 2005 23:58:14 -0400 (EDT) From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> Reply-To: cygwin AT cygwin DOT com To: Lev Bishop <lev DOT bishop AT gmail DOT com> cc: cygwin AT cygwin DOT com Subject: Re: Broken parse on `'${'` In-Reply-To: <ba40711f050707205050f15f3e@mail.gmail.com> Message-ID: <Pine.GSO.4.61.0507072357210.5413@slinky.cs.nyu.edu> References: <42CDE346 DOT 30908 AT byu DOT net> <ba40711f050707205050f15f3e AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 7 Jul 2005, Lev Bishop wrote: > On 07/07/05, Eric Blake wrote: > > > zsh$ bash > > bash$ echo `echo '${'` > > > > > # Hmm - I was just incorrectly presented PS2, asking to try to continue > > what bash thought was an incomplete ${ variable substitution > > Actually, this is a bad example, because even if bash did parse > correctly, there would be still an incomplete ${ substitution for the > outer echo I'm not sure that's correct -- bash doesn't do variable substitution on input, does it? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/