Re: bad double-quoted pattern substitution in indexed arrays

2011-02-28 Thread Chet Ramey
On 2/27/11 3:23 AM, Diego Augusto Molina wrote: > Bash Version: 4.1 > Patch Level: 7 > Release Status: release > > Description: > It's difficult to explain. Better see below the particular case I had. > > I needed to assign the elements of an array to other, but with a preceding > single q

bad double-quoted pattern substitution in indexed arrays

2011-02-27 Thread Diego Augusto Molina
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR uname out