bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double substitution issue


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, address@hidden 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]