From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5423 invoked by alias); 8 Aug 2017 10:26:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 41511 Received: (qmail 7372 invoked by uid 1010); 8 Aug 2017 10:26:36 -0000 X-Qmail-Scanner-Diagnostics: from kahlil.inlv.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(37.59.109.123):SA:0(-0.0/5.0):. Processed in 2.833673 secs); 08 Aug 2017 10:26:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: martijn@inlv.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Subject: Re: 5.4 almost released To: Peter Stephenson , Zsh hackers list References: <20170807135559.odtceysgqn5qeqql@tarpaulin.shahaf.local2> <20170807152649.6a5e7d70@pwslap01u.europe.root.pri> <20170807155856.7882f89f@pwslap01u.europe.root.pri> <20170807190350.48cb55d7@ntlworld.com> <3d089ce2-e5d8-e1fc-e36c-2430b636d8d0@gmx.com> <20170807193412.3ff8651c@ntlworld.com> From: Martijn Dekker Message-ID: <9581a3ad-bdf9-18cb-dc84-9d6fb34e93d5@inlv.org> Date: Tue, 8 Aug 2017 11:26:47 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170807193412.3ff8651c@ntlworld.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Op 07-08-17 om 19:34 schreef Peter Stephenson: > On Mon, 7 Aug 2017 14:25:35 -0400 > Eric Cook wrote: >> On 08/07/2017 02:03 PM, Peter Stephenson wrote: >>> THe files for version 5.4 are now in www.zsh.org/dev. If a few people >>> get a chance to check this is OK I'll announce it and tidy up. >>> >>> Thanks >>> pws >>> >> >> pardon the typo, 5.4 is on http://www.zsh.org/pub > > Er, yes, thank you. The recent POSIX_STRINGS-related change (41499, 2eacbef) introduced at least one serious bug. I think you should probably revert that commit before the 5.4 release so it can have more testing before 5.4.1 or whatever the release after this one is. $* concatenated, IFS is space: emulate sh set " abc " " def ghi " " jkl " IFS=' ' set xx$*yy echo "$#,$1|$2|$3|$4|$5|$6" Actual output: 5,xx|abc|def|ghi|jklyy| Expected output: 6,xx|abc|def|ghi|jkl|yy The 'yy' is joined to the final 'jkl' instead of becoming a separate argument. The same bug happens with $@ (which, when unquoted, acts identically to $*). Thanks, - M.