Re: declare builtin prints erroneous error on array append
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
declare builtin prints erroneous error on array append
The assignment works fine though… $ declare var+=(X) bash: declare: `var+': not a valid identifier $ *declare* -p var declare -a var=([0]="X")