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

Re: for loop with variable



2026-05-11 20:50:33 +0200, Mikael Magnusson:
[...]
> Braceccl syntax will a) sort the results for you which you may not
> want, eg {x-za-c} will give the exact same results as the above, b) it
> does not support multibyte at all, c) requires you to setopt braceccl.
> It is a lot of drawbacks to save typing five characters.
[...]

Note that while {1..12} comes from zsh in 1995, the {a..z}
variant was added by bash in 2004, later copied by zsh in 2014
(https://www.zsh.org/mla/users/2014/msg00035.html).

But braceccl is even older. Added in zsh 2.2 from 1992 AFAICT.

-- 
Stephane




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