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 45479
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: When array append without parens doesn't work?
- Date: Thu, 20 Feb 2020 07:35:20 +0100
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <CAH+w=7aALmxxqmb_nO1kRhO_u_qyzsjuFoqfpROihsZvCoqHNg@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> <CAH+w=7aALmxxqmb_nO1kRhO_u_qyzsjuFoqfpROihsZvCoqHNg@mail.gmail.com>
On Wed, 19 Feb 2020 at 00:39, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
wrote:
> 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
> %
>
This has to be it – the problem that I've occurred back then, thanks!
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zinit
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author