--- Begin Message ---
On 9/17/16 2:32 PM, xa...@t-online.de wrote:
> Bash Version: 4.4
> Patch Level: 0
> Release Status: rc2 / release
>
> Description:
> The tests below were performed with 4.4.0-rc2. However, the problem is
> still present in 4.4.0-release, only execution times are
On 9/18/16 5:32 AM, xa...@t-online.de wrote:
> Bash Version: 4.4
> Patch Level: 0
> Release Status: rc2 / release
>
> Description:
> The tests below were performed with 4.4.0-rc2. However, the problem is
> still present in 4.4.0-release, only execution times are even higher
> fo
> maybe I do not fully follow your example, but wouldn't you instead of:
>
> time D="${C//\[+([0-9])\]=}" # rm '[]='
>
> want:
>
> time D="${C//\[[0-9]*\]=}" # rm '[]='
this would also find [!asd]. And there are other possibilities.
but that was not
Hi,
maybe I do not fully follow your example, but wouldn't you instead of:
time D="${C//\[+([0-9])\]=}" # rm '[]='
want:
time D="${C//\[[0-9]*\]=}" # rm '[]='
your example copies a lot to D and thats what takes time, I guess.
cheers,
pg
On 18
Configuration Information [Automatically generated, do not change]:
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='b