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


Groups > gnu.bash.bug > #15533

'#' in here-doc

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Oğuz <oguzismailuysal@gmail.com>
Newsgroups gnu.bash.bug
Subject '#' in here-doc
Date Thu, 24 Oct 2019 00:35:15 +0300
Lines 14
Approved bug-bash@gnu.org
Message-ID <mailman.1617.1571869307.9715.bug-bash@gnu.org> (permalink)
References <CAH7i3Lp_T1x2L9CdhJaG=Be8sA-jtiZen5dYNNK67vqnf9E8qQ@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1571869308 19932 209.51.188.17 (23 Oct 2019 22:21:48 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zZj8gfrSZVXrNBtzEOKW1M5nnzWrIOQoA5ho4s+J1XM=; b=LoPU9f91OFD7+q+leFBCcoX/cULX+9T22OMUQmnbpQxYOfSczQjW25M7UcRDM82dj7 bBfBcozh2miqTcH2vbJrEN7FoK7e6Fnbx6Voee7cRD9TK67RWMPg24QW3QxquThE1xcW aQTlI9q6qUw7Mz4LkBvmhIdoDJ5KJhjtPkh+oO2T8nnkcU1uliw3WralrtMJbplA5YtQ iz3us3ruZuZQBdweay+mmUXq1cFbZh6+tbaX+pKyERNY//kxyN3SNWG3ryOrbXu0kSZ8 uyQl8A69X6P5prhr06k8nqiYts3YJIfuEHX+oZuQEFjS80FuMfLlzta+lwSjo/5osDz4 /eAQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zZj8gfrSZVXrNBtzEOKW1M5nnzWrIOQoA5ho4s+J1XM=; b=p9nsJ/qEUXjpa6+2hCkMKOW0lv9ez1LaPW5OxrLn334lOapcx7XnLOuU/2hzfVJlAd pSCaoi7PswZzHFqDGlkx5zpDV70o4yivclN7c7j1FPQkMBntsvcgbng28hnz3falm2hq 4ZoLRfWqids6B4BiYLQqKA8mbF0Zyhr75KQHOK7YYMONwb52FOnoaYf/FxkgQRQk+ctE JhQo5QpnBBtMLrK74I/ZhW/Wy84eluLGV9uzj/c/63h37pBQDDlVNFsDI/Vd4r/V7Iza ByLXlfeU3yvmKngBBwnt317bRbyYgkkAGHFggI+wOoiNucVWFQJe4Vtlrrpd9ONVQw9T 2MfA==
X-Gm-Message-State APjAAAWHkKbQfRaNjTZt8QFTh1sFA7E/z9mEth13HD3tV+Afz+IpyIs/ Np3C1M82Q9Pge3F6VbkscjvcdbgVuTiyQsgN89sHzO8T
X-Google-Smtp-Source APXvYqzt3XkFfbMGKpm3nwgZutbETxBqjEzbcYLD4/i6mllzMJXW42PD6JSuVxEa57cr6TZIMnZS33RvifWKb/cdXDE=
X-Received by 2002:ad4:45ab:: with SMTP id y11mr5411655qvu.62.1571866515847; Wed, 23 Oct 2019 14:35:15 -0700 (PDT)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4864:20::82e
X-Mailman-Approved-At Wed, 23 Oct 2019 18:21:44 -0400
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 <CAH7i3Lp_T1x2L9CdhJaG=Be8sA-jtiZen5dYNNK67vqnf9E8qQ@mail.gmail.com>
Xref csiph.com gnu.bash.bug:15533

Show key headers only | View raw


After running this on bash 5.0.9:

wc -c <<EOF
#
EOF

if I hit up arrow key, I get this:

wc -c <<EOF
#

EOF

(there is an extra blank line). Can't reproduce on bash 4.4.20 though

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


Thread

'#' in here-doc Oğuz <oguzismailuysal@gmail.com> - 2019-10-24 00:35 +0300

csiph-web