Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Quoted parameter parsing glitch
- X-seq: zsh-workers 15678
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "'Bart Schaefer'" <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: RE: Quoted parameter parsing glitch
- Date: Wed, 22 Aug 2001 20:21:09 +0400
- Importance: Normal
- In-reply-to: <1010822155420.ZM23938@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> schaefer<502> print "${foo:-"}"
> dquote braceparam>
>
> At this point the parser is in an infinite loop. There's nothing you
can
> type (except end-of-file or interrupt) that will free you from the PS2
> prompt.
>
Shell should not hang, but please note it is invalid as per POSIX.
Double-quotes and braces must match. So whatever fix is used, it should
not make the above valid construct (i.e. it should not print `"').
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author