On Tue, Nov 20, 2018 at 08:16:47PM -0800, fulldec...@gmail.com wrote: > I have found a way to use double expansion, and of course this is not safe > in all contexts: > > from=1;to=3;eval echo {$from..$to}
for ((i=from; i<=to; i++)); do ... done.
On Tue, Nov 20, 2018 at 08:16:47PM -0800, fulldec...@gmail.com wrote: > I have found a way to use double expansion, and of course this is not safe > in all contexts: > > from=1;to=3;eval echo {$from..$to}
for ((i=from; i<=to; i++)); do ... done.