Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fwd: more splitting travails
On Fri, Jan 12, 2024 at 6:19 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> On 2024-01-12 12:51, Bart Schaefer wrote:
> > Close. It's the inner double quotes around $(<...) that preserve the
> > exact contents of the file.**
> > Then the
> > outermost set of double quotes means "include empty array elements"
> > (which, because of (f), is empty lines in this case).
>
> Nuts, if the innermost quotes say 'exact contents' then that seems
> redundant.
The innermost quotes are undone by (@f). Working from the inside out,
past the (f) you no longer have the exact contents.
> And I thought the outermost parenthesis said 'this is an array', not the '@'
The outermost parens say that you are ASSIGNING TO an array, not WHAT
you are assigning to it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author