bug-bash
[Top][All Lists]
Advanced

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

Re: greater-than + number sign = newlines in history


From: Oğuz
Subject: Re: greater-than + number sign = newlines in history
Date: Sun, 3 May 2020 20:03:54 +0300

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 <tobwen@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


reply via email to

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