On Wed, Feb 28, 2018 at 03:25:21AM -0500, William Entriken wrote:
> from=1
> to=3
> ls {$from..$to}
> Bash fails the chained substitution with:
>
> ls: {1..3}: No such file or directory
This is simply not a feature that bash implements. Bash does the
expansions in the opposite order (brace expansion first, then parameter
expansion second), so it does not work.
If you want to open a feature request for it, I'll let Chet respond.
