From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Here document in code chunks
Date: Wed, 02 Sep 2015 10:03:47 +0100 [thread overview]
Message-ID: <20150902100347.03027225@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAHYJk3TYVbrz5L+gtsS9URn6=Wr4Vy5LnBBetf2LyxEXTvcpvA@mail.gmail.com>
On Wed, 2 Sep 2015 10:50:07 +0200
Mikael Magnusson <mikachu@gmail.com> wrote:
> Just got this report on #zsh,
>
> % f() { cat << x << y; }
> foo
> x
> bar
> y
> % which f
> f () {
> cat <<x <<y
> foo
> xbar
> y
> }
>
> There should be a newline between x and bar in the output. The
> function itself works fine.
Looks like this isn't especially new --- was present in 5.0.0 --- so
while this ought to be easy enough to fix and go into the next release,
it's not especially related to 5.1 / 5.1.1, either.
pws
next prev parent reply other threads:[~2015-09-02 9:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-02 8:50 5.1.1? Mikael Magnusson
2015-09-02 9:03 ` Peter Stephenson [this message]
2015-09-02 13:13 ` Here document in code chunks Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150902100347.03027225@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).