zsh-workers
 help / color / mirror / code / Atom feed
* When array append without parens doesn't work?
@ 2020-02-18 21:33 Sebastian Gniazdowski
  2020-02-18 21:45 ` Roman Perepelitsa
  2020-02-18 23:38 ` Bart Schaefer
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Gniazdowski @ 2020-02-18 21:33 UTC (permalink / raw)
  To: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

Hi,
I recall once reporting a problem to this list, to which Bart responded
with "you'll thank me later" about the correct array-append syntax, which
is arr+=( ... ), not arr+=.... I cannot find this message.

I've only found a report on IRC that's related, however, what's in it
appears to work fine: http://sprunge.us/sUNWBk

Can anyone provide an example of the "almost-works" property of the +=...
syntax?

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zinit
Blog: http://zdharma.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-20  6:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 21:33 When array append without parens doesn't work? Sebastian Gniazdowski
2020-02-18 21:45 ` Roman Perepelitsa
2020-02-18 23:35   ` Sebastian Gniazdowski
2020-02-18 23:38 ` Bart Schaefer
2020-02-20  6:35   ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).