|
| From: | Greg Wooledge |
| Subject: | Re: Double substitution issue |
| Date: | Wed, 21 Nov 2018 08:37:33 -0500 |
| User-agent: | NeoMutt/20170113 (1.7.2) |
On Tue, Nov 20, 2018 at 08:16:47PM -0800, fulldecent@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.
| [Prev in Thread] | Current Thread | [Next in Thread] |