bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

greater-than + number sign = newlines in history


From: Tobias Wendorff
Subject: greater-than + number sign = newlines in history
Date: Sun, 3 May 2020 08:28:30 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

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
```



reply via email to

[Prev in Thread] Current Thread [Next in Thread]