Reuti wrote:
Am 22.09.2016 um 15:23 schrieb Greg Wooledge :
On Wed, Sep 21, 2016 at 11:15:45PM -0400, mobatu...@yahoo.ca wrote:
declare -a "$string" # results in execution of $string
declare -a a=($string)# does not result in execution of $string
This is why you don't u
On 9/21/16 11:15 PM, mobatu...@yahoo.ca wrote:
> Bash Version: 4.3
> Patch Level: 30
> Release Status: release
> ___
> You can see in the picture below that:
> declare -a "$ExecuteThisData"
> resulted in executing the string "$Exe
> Am 22.09.2016 um 15:23 schrieb Greg Wooledge :
>
> On Wed, Sep 21, 2016 at 11:15:45PM -0400, mobatu...@yahoo.ca wrote:
>> In Summary:
>>
>> declare -a "$string" # results in execution of $string
>> declare -a a=($string)# does not result in execution of $string
>
> This is why you d
On Wed, Sep 21, 2016 at 11:15:45PM -0400, mobatu...@yahoo.ca wrote:
> In Summary:
>
> declare -a "$string" # results in execution of $string
> declare -a a=($string)# does not result in execution of $string
This is why you don't use the first form. It's the same with eval --
if you don