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

Re: array prepend



On Jan 17,  9:52am, Greg Klanderman wrote:
}
} Ahh OK, I see when SHWORDSPLIT is on, VAR+=$x does not perform
} splitting on $x but VAR+=($x) does.

Also when $x is an array, VAR+=$x does joining ...
 
} you can already use += on associative arrays

Caught me on another detail I'd forgotten.  So I guess I have no real
preference for []+= or ++= as a syntax.



Messages sorted by: Reverse Date, Date, Thread, Author