Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: When array append without parens doesn't work?
- X-seq: zsh-workers 45472
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Subject: Re: When array append without parens doesn't work?
- Date: Tue, 18 Feb 2020 15:38:56 -0800
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <CAKc7PVCLMaR3=Y0PguBgZcSNvmrh-E+uvApSXeguU4XYrGyVYw@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>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCLMaR3=Y0PguBgZcSNvmrh-E+uvApSXeguU4XYrGyVYw@mail.gmail.com>
On Tue, Feb 18, 2020 at 1:33 PM Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> Can anyone provide an example of the "almost-works" property of the +=...
> syntax?
% Src/zsh -f
% a1=(1 2 3)
% a2=(a b c)
% a1+=$a2
% print -rl $a1
1
2
3
a b c
%
Messages sorted by:
Reverse Date,
Date,
Thread,
Author