Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall
uname output: Linux thierrybo-desk 6.0.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 
6.0.5-1 (2022-10-28) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 5.2
Patch Level: 2
Release Status: release

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;


Reply via email to