bug-bash
[Top][All Lists]
Advanced

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

Re: arithmetic expression from outside


From: YAMAGUCHI Takanori
Subject: Re: arithmetic expression from outside
Date: Fri, 6 Sep 2019 11:41:09 +0900
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

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

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