I reported this 5 months ago: https://lists.gnu.org/archive/html/bug-bash/2019-10/msg00093.html
3 Mayıs 2020 Pazar tarihinde Tobias Wendorff <tob...@gmx.de> yazdı: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -g -O2 > -fdebug-prefix-map=/build/bash-2bxm7h/bash-5.0=. > -fstack-protector-strong -Wformat -Werror=format-security -Wall > -Wno-parentheses$ > uname output: Linux inwis-wohnlagen 5.4.0-0.bpo.4-amd64 #1 SMP Debian > 5.4.19-1~bpo10+1 (2020-03-09) x86_64 GNU/Linux > Machine Type: x86_64-pc-linux-gnu > > Bash Version: 5.0 > Patch Level: 3 > Release Status: release > > Description: > When creating a here document containing the greater-than sign followed > by number sign, newlines get added to Bash history: > ``` > $ history > 1 cat << 'EOF' > /dev/null > <#a > > <#b > > EOF > ``` > > Repeat-By: > ``` > $ cat << 'EOF' > /dev/null > <#a > <#b > EOF > ``` > > -- Oğuz