[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string substitution broken since 5.2
From: |
Andreas Schwab |
Subject: |
Re: string substitution broken since 5.2 |
Date: |
Thu, 03 Nov 2022 18:49:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
On Nov 03 2022, thierryb--- via Bug reports for the GNU Bourne Again SHell
wrote:
> Description:
> String substitution code running for years is broken in 5.2.
>
> Repeat-By:
> string = 'xdotool type "sudo apt update"'
> string="${string//\"/"}"
> printf '%s' "$string"
>
> previously outputs:
> xdotool type "sudo apt update"
>
> but now outputs:
> xdotool type "quot;sudo apt update"quot;
shopt -u patsub_replacement
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- string substitution broken since 5.2, thierryb, 2022/11/03
- Re: string substitution broken since 5.2,
Andreas Schwab <=
- Re: string substitution broken since 5.2, Koichi Murase, 2022/11/03
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/03
- Re: string substitution broken since 5.2, Koichi Murase, 2022/11/03
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/03
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/03
- Re: string substitution broken since 5.2, Koichi Murase, 2022/11/03
Re: string substitution broken since 5.2, Thierry B., 2022/11/03
Re: string substitution broken since 5.2, Chet Ramey, 2022/11/03