Chet Ramey <[EMAIL PROTECTED]> wrote:
> Anchored pattern matches that specify removing or replacing each match
> don't make sense. The combination is meaningless.
It seems meaningful to me, but since only one occurrence could match
an anchored pattern, "every match" just means the same thing as "
> Bash Version: 3.2
> Patch Level: 17
> Release Status: release
>
> Description:
> If a is an array, ${a[*]//%pattern/replacement} and
> ${a[*]//#pattern/replacement} don't work. Both do nothing. The single-slash
> versions ${a[*]/%pattern/replacement} and ${a[*]/#pattern/replacement} work
> as e
Configuration Information:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I.