Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: quoting question



On Tue, Sep 12, 2023 at 1:08 PM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> It looks like we're not couting brace pairs within quotes the way we do
> outside.  I suppose the reason for that is something along the lines of:
> if we encounter a "{" inside quotes itʼs just a reguler character so
> doesnʼt have a special syntax associated.  But the inconvenience of
> counting braces differently just because youʼve added double quotes surely
> outweighs that.

I went to incredible lengths with the ${| ... } parsing to get around
this very thing.

Refer workers/51907
(https://www.zsh.org/mla/workers/2023/msg00636.html) for Mikael's
argument of why this should NOT be changed.

In any case this patch conflicts with workers/51987 ... it appears
possible to merge them and all my D10 tests still pass, so not a great
problem.




Messages sorted by: Reverse Date, Date, Thread, Author