I meant that the evaluation is unsafe. If this behaviour is
the defined feature, manpage should be added the warning that
"must not use unchecked input in an arithmetic expression context".

On 2019/09/05 23:08, Chet Ramey wrote:
> On 9/5/19 4:40 AM, YAMAGUCHI Takanori wrote:
>> Is this an intended behaviour?
> 
> The command substitution in the evaluation of the array index? Yes,
> array indices undergo word expansions.
> 

Reply via email to