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

Re: [BUG?] Could anyone test: local a=( 1 2 2 3 ); typeset -U a; echo $a



On Wed, Mar 15, 2017, at 03:46 AM, Jérémie Roquet wrote:
> 5.2-dev-1: 1 2 3
> 5.3.1-dev-0: 1 2 3
> 
> Most likely plugins, I guess…

Thanks.

No Need To Test More.

That skepticism lead me to answer:

% local -A f
% local f=( 1 2 2 3 )
% echo $f
2 3

There's error in the screenshot, I've prepared "b", but did "echo $a".
${(t)a} is association unique. Sorry for unneeded email.

-- 
Sebastian Gniazdowski
psprint3@xxxxxxxxxxxx



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