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

Re: Belaboring substitution syntax



On Wed, Nov 16, 2022 at 6:15 AM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> On Wed, Nov 16, 2022 at 3:09 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
> >
> > "${array[@]}" ... Read: protect the elements of this array, do any expansions within them, but do NOT combine them ??
>
> No, this just expands the array to all its elements.

In the base cases, you can think of it as "if I can't see it, nothing
happens to it."  The exceptions only occur when you start adding
parameter flags like ${(e)array[@]}.




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