I ran into a strange bug using newer versions of bash, I haven't isolated
it to a specific release.
OS1: Oracle Enterprise linux 9,4 bash 5.1.8(1)
OS2: Gentoo linux bash version 5.2.37
older bash:
OS3: centos linux 7.9 bash 4.2.46(2)
In using unicode group separator character U 241D,
https://www.
Ramey wrote:
> On 1/8/25 1:25 PM, Jeff Ketchum wrote:
> > I ran into a strange bug using newer versions of bash, I haven't isolated
> > it to a specific release.
> >
> > OS1: Oracle Enterprise linux 9,4 bash 5.1.8(1)
> > OS2: Gentoo linux bash version 5.2.37
>
I noticed a strange issue with some variable replacement text getting
replaced in a weird way.
It may be intentional. I just want to understand the differences and if it
is, or if its a newer bug.
Originally i was doing this to prepend data to an array like
"${array_[@]/#/${variable}}"
I simplifie
g='\'
Anyway, this does help, as I can look into turning it off, and understand
the behaviour better.
Jeff
On Thu, Jun 19, 2025 at 4:11 PM Lawrence Velázquez wrote:
> On Thu, Jun 19, 2025, at 5:28 PM, Jeff Ketchum wrote:
> > $ cat replacestring.sh
> > origin