Re: BUG: Brace expansions do not support any type of variable.

Chet Ramey <[email protected]> Mon, 6 Apr 2026 11:05:56 -0400
Newsgroups gmane.comp.shells.bash.bugs
Organization ITS, Case Western Reserve University
Message-ID <[email protected]>
On 4/1/26 4:22 PM, Invert Ignas wrote:

> Bash Version: 5.2
> Patch Level: 21
> Release Status: release
> 
> Description:
>          There is a bug that doesn't let accept variables in brace expansions. Ex: {0..$foo}
>          Please add the ability to add variables to brace expansions.

As others have mentioned, this is not a bug. Brace expansion behaves as
documented.

This feature request would not be backwards compatible.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc (application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCadPL1AUDAAAAAAAKCRC7WGnwZOp0q0q/
AJ0UsvOCbnbZnVG+uscnCJ69ltM67gCgili7OZQMWkaSitpQTpaBLiXiPRY=
=9tJn
-----END PGP SIGNATURE-----