Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 5.3.1-dev-0 difference in array=( "${(PA@)var_name}" )
- X-seq: zsh-workers 41302
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>
- Subject: Re: 5.3.1-dev-0 difference in array=( "${(PA@)var_name}" )
- Date: Wed, 14 Jun 2017 23:10:18 -0700
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jQm8lbLXp5g1hAirzuDGeudaIDUHmX+FW0hrpFPIBFY=; b=CjSpRtMd/I9jnmzktY0I4YjCBBxoq5jdbnCcWKdYmLxq8nnw8OCcZBtbIKJMk4zDE/ lgYegGPDJ0NgK0jw0I/nDIXbtpb7/GiSQg4yXi5ozQaMXDl/foVDlNXyTVaAdsvza41R KA9gcevoWbkphJ78guCZiYg8z+XoWz6jg7O3JyazLHnGHbVCm1wuydUC01vSMmXemC2i 8vTrAFfTcySD5S/b1iAzM1aMEbY3GyUV3zk21TDcq8+xZQMdJkLCJXtJgnyxCvjKx7b9 kQjh5B+BXbpqE8Hp5aNm+qPs5of4UHjHwYfbA6sccvulj7r7tr7N56hQIvfkugziSlnj tLSw==
- In-reply-to: <etPan.59422316.79e2a9e3.8fd5@MacMini.local>
- 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: <etPan.59416db1.2eb141f2.8fd5@MacMini.local> <CAH+w=7aGkJpWqM=2QEz_SgFokwNSxfok7WA2v6Uv=Fw6P3Skcg@mail.gmail.com> <etPan.59422316.79e2a9e3.8fd5@MacMini.local>
On Wed, Jun 14, 2017 at 11:03 PM, Sebastian Gniazdowski
<psprint@xxxxxxxxxxx> wrote:
> On 14-06-2017 at 22:35:51, Bart Schaefer (schaefer@xxxxxxxxxxxxxxxx) wrote:
>>
>> So in the above example ${(P)var_name} returns a scalar and the (@)
>> flag is also meaningless. In this next example --
>
> I think @ has an actual effect:
Well, yes, it has an effect if $abcdef is already an array (as in your
new example). It has no effect if $abcdef is unset (as in your
original example) or is a scalar.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author