Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Different behaviour when interpreting a here-document between 5.3 and 5.5.1
- X-seq: zsh-users 23356
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Different behaviour when interpreting a here-document between 5.3 and 5.5.1
- Date: Thu, 19 Apr 2018 16:48:29 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=NVEx9cGqX/2ZwtU6WD6eD3Eh8kICIcotD1K+DNOmzOY=; b=mo2nP2btmvkgcasgmctqQWH7ePZgu9lbIb6KR0FJg9ConKmZw/G7Me2fQ/rNGpIbYg 0yNztx07aJaXYSsF09ww5T2Ykrh0VvHRsVdeGa0gqhJnbhrcxZK53q5i0Al8aUn8Gz6t AN0yzlEjTFy3Otw9/L/c6FT9QwemMfDWnpOFoUO2mYYfUGnDzsuquCrXp4YaBPAuWYvs SSuvMlNI75iCH6lxmVyDJk8Bt2BsRMEa12W5jgJ2NkDCkoWIdBEsBFQBcB1050ydcGFJ ssXcMRcCXAbqrEMw4SM+turgy2xvVNbyVpqJiV346pM5YZxSUMUh0qb1rIBCJoS+bLqa tHBQ==
- In-reply-to: <E1DC38CD-F8BD-4128-8808-261D260462F7@gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <E1DC38CD-F8BD-4128-8808-261D260462F7@gmail.com>
On Thu, Apr 19, 2018 at 2:52 PM, Enrico Maria Crisostomo
<enrico.m.crisostomo@xxxxxxxxx> wrote:
> cat <<EOF
> checksums rmd160 ${CHECKSUM_RMD160} \\
> sha256 ${CHECKSUM_SHA256} \\
> size ${CHECKSUM_SIZE}
> EOF
Yeah, this is commit 47aa6095 aka workers/42355. It's recognizing
backslash-newline but not whether the backslash is itself escaped.
The NEWS file should have mentioned the change to here-documents, I
think. However, not catching the double backslash is a bug. However,
part 2, figuring this out requires scanning backwards to see if you
have an even or odd number of trailing backlashes, or scanning forward
and tokenizing while consuming the document. Bleah.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author