Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16270

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

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Oğuz <oguzismailuysal@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: greater-than + number sign = newlines in history
Date Sun, 3 May 2020 20:03:54 +0300
Lines 47
Approved bug-bash@gnu.org
Message-ID <mailman.1966.1588525439.3066.bug-bash@gnu.org> (permalink)
References <bb08b099-59bd-5f04-4074-bbc046e99c6c@gmx.de> <CAH7i3Lpk+rdfw2ZUA0K8Pbns==m0WEKyM-pL+Ou3nK1N9dU7cA@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1588525440 31051 209.51.188.17 (3 May 2020 17:04:00 GMT)
X-Complaints-To action@cs.stanford.edu
Cc "bug-bash@gnu.org" <bug-bash@gnu.org>
To Tobias Wendorff <tobwen@gmx.de>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=flNDqcVXSYevEkPmgHW41UDEsVh8zIM91QBCLXcL2o0=; b=IUu76T8zTKMIMxSZAtOSv/fDCjhA6ETwWf1LgiNucW4nfZR7b+Ya7hKvEb2/WuCScv ce7eNsF4P5aC9OmKApz/Z1jT2qo+zWvTqqTbNHKP6xIdEvYAcXT4HwyUfvRj50zzEhwJ 2AjyddJruzgtxF+P9ImNnSSzsNK7EJ7PinOtL0/HDDKvotL9/i0qlaljD712s4PCRX32 DXC7LC7ZGN46+Lhay6Ef6OLqJe8jcU1ZAwwJhp6WoYuUkBWm4d630pdHJL/KppuGl26L 40ix2Wo5bYS1SJilOt+fgEr+wYagzyHCZqLuqnYVeG+mWJlmf4FT3evcUWJzbEudYC/P eWUA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=flNDqcVXSYevEkPmgHW41UDEsVh8zIM91QBCLXcL2o0=; b=UCNuhIHXRohrnU4Kt0FLxDkEx2F/CEjAhchlsUcj0LRK1qu4i5uqHqHL06R3tKV+ZO fw1dmxxLAAMwtanWbdPK9Z/CBfCGRYsh9djorQ8+BoAnQdsakNhm+RuA/TNghi4L9hpf eFbj8vMkYmZUsZvkK1nsbRh8ru2pGN1WpRM1kPK+YKf6AVfaRPTp/Nq4UOboprYlo9vJ Wqmg1+y6UjRE3zILVe2ycxbtQcC/Fh9VHtuXDZTMpRs09afYrpxwAeXkxHB9P/kWPLHl uBSMUefiQezhnMj2v9Ob/wihztpheudJsoHgbnO5XFpMk4dlfAedNh31AxXwT+sZGJHX EHCA==
X-Gm-Message-State AGi0PuYbK41SWGErA8zr3yZorFHaqGDPdiAw4R8n5g27SL9BNgT6+0uR 0Yz4oL2mkBuDIsJ+ojt8bowBQ2LMMvnDa/iLbRE=
X-Google-Smtp-Source APiQypJBDzWAAqsw8+UxJtx0haYIzclsbWXTKafutxv+PlfUj0Jj1cHSKHo3nkb2Y/gyCgVYnrcgfuOfSCarB7/WxNM=
X-Received by 2002:a05:620a:34a:: with SMTP id t10mr12775379qkm.414.1588525435318; Sun, 03 May 2020 10:03:55 -0700 (PDT)
In-Reply-To <bb08b099-59bd-5f04-4074-bbc046e99c6c@gmx.de>
Received-SPF pass client-ip=2607:f8b0:4864:20::72a; envelope-from=oguzismailuysal@gmail.com; helo=mail-qk1-x72a.google.com
X-detected-operating-system by eggs.gnu.org: No matching host in p0f cache. That's all we know.
X-Spam_score_int -10
X-Spam_score -1.1
X-Spam_bar -
X-Spam_report (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action no action
X-Content-Filtered-By Mailman/MimeDel 2.1.23
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAH7i3Lpk+rdfw2ZUA0K8Pbns==m0WEKyM-pL+Ou3nK1N9dU7cA@mail.gmail.com>
X-Mailman-Original-References <bb08b099-59bd-5f04-4074-bbc046e99c6c@gmx.de>
Xref csiph.com gnu.bash.bug:16270

Show key headers only | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: greater-than + number sign = newlines in history Oğuz <oguzismailuysal@gmail.com> - 2020-05-03 20:03 +0300

csiph-web