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

Re: [bug] shwordsplit not working on $@ when $# > 1



2016-08-08 19:28 GMT+02:00 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
> 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



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