Re: non-bug: Brace expansions do not support any type of variable.
Martin D Kealey <[email protected]> Thu, 2 Apr 2026 22:06:46 +1300
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <CAN_U6MUAVNksg5-jPkt--YKcoi-iac1CXpPaCXh5+7cJ9r_gvg@mail.gmail.com> |
On Thu, 2 Apr 2026, 09:22 Invert Ignas, <[email protected]> wrote: > From: ignas > To: [email protected] > Subject: BUG: Brace expansions do not support any type of variable. > Labelling this as a "bug" is misleading, as the existing behaviour is exactly as described in the man page and info documentation. Moreover POSIX does not require the behaviour you describe. Arguably this is a missing enhancement, but not one that can be added without breaking backwards compatibility, especially: $ declare aa=2 ab=3 ac=5 ad=7 a{e..g}=x $ echo $a{a..g} // $BASH_VERSION 2 3 5 7 x x x // 5.3.0(14)-maint -Martin >