Subject: Re: [bug] shwordsplit not working on $@ when $# > 1
From: Jérémie Roquet <[email-masked]>
To: Bart Schaefer <[email-masked]>
Cc: "Zsh Hackers' List" <[email-masked]>
Date: Mon, 8 Aug 2016 20:02:18 +0200
List-Id: Zsh Workers List <zsh-workers.zsh.org>

2016-08-08 19:28 GMT+02:00 Bart Schaefer <[email-masked]>:
> On Aug 8, 12:16pm, Stephane Chazelas wrote:
> }
> } ~$ zsh -o shwordsplit -c 'IFS=:; echo $@' zsh a:b
> } a b
> } ~$ zsh -o shwordsplit -c 'IFS=:; echo $@' zsh a:b c
> } a:b c
>
> Very odd.  Works correctly in zsh-3.0.8, does not in zsh 4.3.17 (I don't
> have anything in between with which to test).

The behavior changed in 2011 with this changeset:

https://sourceforge.net/p/zsh/code/ci/6699851bcb535f3b2eb707a91cdc1a27f65a05a2

Best regards,

-- 
Jérémie