Re: bash does filename expansion when assigning to array member in compound form

2012-08-20 Thread Gundi Cress
Am Sat, 18 Aug 2012 19:55:17 +0100 schrieb Stephane Chazelas: > 2012-08-18 10:26:22 -0500, Dan Douglas: >> This is a feature that all shells with this style of compound >> assignment have in common. If no explicit subscripts are given, the >> text between the parentheses is processed exactly as th

bash does filename expansion when assigning to array member in compound form

2012-08-18 Thread Gundi Cress
This is a question about bash's behaviour concerning assignment to array members. Bash Version 4.2.24(1)-release (x86_64-pc-linux-gnu) The bash manual (version 4.1, chapter 3.4) says about assignment to shell variables: "Filename expansion is not performed." simple test to proof this on the co