Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Here document in code chunks
- X-seq: zsh-workers 36398
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Here document in code chunks
- Date: Wed, 02 Sep 2015 10:03:47 +0100
- In-reply-to: <CAHYJk3TYVbrz5L+gtsS9URn6=Wr4Vy5LnBBetf2LyxEXTvcpvA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CAHYJk3TYVbrz5L+gtsS9URn6=Wr4Vy5LnBBetf2LyxEXTvcpvA@mail.gmail.com>
On Wed, 2 Sep 2015 10:50:07 +0200
Mikael Magnusson <mikachu@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author