Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Belaboring substitution syntax
On Tue, Nov 15, 2022 at 6:54 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> There are times when I want to protect but not
> join tho and it gets confusing.
That's almost always the instance in which you want to use
"${array[@]}" or the almost-equivalent "${(@)array}". The difference
is that you can [sometimes must] use (@) on a nested expansion
"${(@)${somethingthatcreatesanarray}}".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author