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

Re: Strange brace(}) behavior with multiple for loops



On Mon, Nov 14, 2022 at 9:56 AM Jim <linux.tech.guy@xxxxxxxxx> wrote:
>
> Depending on how I terminate the loops(see above) the anonymous function either
> works or fails if using 3 braces(}}}) togather(no spaces).
>
> Q:  Is this a bug, or am I missing something?

I suppose it's technically a bug, but "}" is either a token or not
depending on context, so it's generally a good idea to put spaces
around them, just like in the previous thread about alias expansions.




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