Re: Double substitution issue

2018-02-28 Thread William Entriken
Thank you for explaining this fine point. 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} Regards, Will William Entriken +1 267-738-4201 On Wed, Feb 28, 2018 at 10:03 AM, Chet Ramey wrote: > On 2/28/18 3

Double substitution issue

2018-02-28 Thread William Entriken
This behavior is different in zsh and bash, and maybe bash behavior is a bug. # Test case touch 1 2 3 cat > script.sh <