IFS delimiter field separation issues

2025-01-08 Thread Jeff Ketchum
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.

Re: IFS delimiter field separation issues

2025-01-09 Thread Jeff Ketchum
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 >

variable replacement text differences

2025-06-19 Thread Jeff Ketchum
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

Re: variable replacement text differences

2025-06-19 Thread Jeff Ketchum
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