Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15349 > unrolled thread

Re: arithmetic expression from outside

Started byChet Ramey <chet.ramey@case.edu>
First post2019-09-05 10:08 -0400
Last post2019-09-05 10:08 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: arithmetic expression from outside Chet Ramey <chet.ramey@case.edu> - 2019-09-05 10:08 -0400

#15349 — Re: arithmetic expression from outside

FromChet Ramey <chet.ramey@case.edu>
Date2019-09-05 10:08 -0400
SubjectRe: arithmetic expression from outside
Message-ID<mailman.428.1567692516.2075.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web