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
- X-seq: zsh-workers 40852
- From: Sebastian Gniazdowski <psprint3@xxxxxxxxxxxx>
- To: Jérémie Roquet <jroquet@xxxxxxxxxxxxx>
- Subject: Re: [BUG?] Could anyone test: local a=( 1 2 2 3 ); typeset -U a; echo $a
- Date: Wed, 15 Mar 2017 04:06:25 -0700
- Cc: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=sZbglYL6vqAC+PombLHxC2XSHE E=; b=DV+yMxctb3RBxn4X7Af/ROgAysJi27nZgLnXYsvA27aE5r0/Btrqz/jydx /rLMrFt86JfhQMf6XQshUUpy8BC3Lmu1E1Ei/O3K39AOQPZSoFy0hW59/f4aZE/O F5jpaKtPcO0pUt+bpswHipeEBjpo1rx6mubGNGfgBT6EtQclY=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=sZ bglYL6vqAC+PombLHxC2XSHEE=; b=SVfLNRdNS9Fxk9P11wHcITbXF5p7D1rApA UyctCIovEuMJ22ksMTGqADdl6q4v7zbneAHwNbXFPCl72taop0Mpei0F7lYqfkZL GINNUlzCwjc9VI8+AqsAOfJVZ7iLjJXC3NdabTX4/qBR8mLQaOBuAzPktvKLTg6n A7qNb6sNM=
- In-reply-to: <CAFOazAPY5xX_+osJJ4+SKoD5jSkYRE3g7MBFciyV=VdKkuaz3g@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1489572205.919567.911917952.7FA08B36@webmail.messagingengine.com> <CAFOazAPY5xX_+osJJ4+SKoD5jSkYRE3g7MBFciyV=VdKkuaz3g@mail.gmail.com>
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