[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: arithmetic expression from outside
From: |
Chet Ramey |
Subject: |
Re: arithmetic expression from outside |
Date: |
Thu, 5 Sep 2019 10:08:09 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
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.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/