Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 5.4 almost released



Op 07-08-17 om 19:34 schreef Peter Stephenson:
> On Mon, 7 Aug 2017 14:25:35 -0400
> Eric Cook <llua@xxxxxxx> 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.



Messages sorted by: Reverse Date, Date, Thread, Author