[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ${var/\#} no longer works
From: |
Grisha Levit |
Subject: |
Re: ${var/\#} no longer works |
Date: |
Sun, 19 May 2024 16:50:00 -0400 |
On Sun, May 19, 2024, 14:05 konsolebox <konsolebox@gmail.com> wrote:
> Here's an output from devel branch bash and 5.2.26:
>
> $ bash-99999 -c 'echo "$BASH_VERSION"; x="abc#xyz"; echo "${x/\#}"'
> 5.3.0(1)-alpha
> abc#xyz
> $ bash-5.2.26 -c 'echo "$BASH_VERSION"; x="abc#xyz"; echo "${x/\#}"'
> 5.2.26(1)-release
> abcxyz
This is a bug caused by one of my patches, just reported last week:
https://lists.gnu.org/archive/html/bug-bash/2024-05/msg00174.html