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

Re: When array append without parens doesn't work?



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