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

Re: auto-quoting inside braces in arguments



On 2021-02-18 10:52:01 -0800, Bart Schaefer wrote:
> On Thu, Feb 18, 2021 at 10:30 AM Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > It needs to be a bit more complicated than that
> 
> There's one additional problem:
> 
>   { echo what does {this mean}
> 
> ??  Currently the final brace matches the initial brace, not the brace
> before "this".

This happens to be just because of the space before "mean", so that
the two braces are not in the same word. With

  { echo what does {this\ mean}

it doesn't.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




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