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, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to