This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Broken parse on `'${'`
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Lev Bishop <lev dot bishop at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 7 Jul 2005 23:58:14 -0400 (EDT)
- Subject: Re: Broken parse on `'${'`
- References: <42CDE346.30908@byu.net> <ba40711f050707205050f15f3e@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/