bug-bash
[Top][All Lists]
Advanced

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

Re: declare builtin prints erroneous error on array append


From: Chet Ramey
Subject: Re: declare builtin prints erroneous error on array append
Date: Tue, 31 May 2016 16:35:30 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

On 5/31/16 4:08 PM, Grisha Levit wrote:
> The assignment works fine though…
> 
> |$ declarevar+=(X) bash: declare: `var+': not a valid identifier $ *declare*
> -p var declare -a var=([0]="X")|

Thanks, another easy fix.
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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