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

Re: triviality regarding $# counts



On Sun, Apr 14, 2024 at 3:25 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> # If you want a COPY ... yes, a Xerox copy:
>
> % fff=( "${(@f)ddd}" )
>
> # That's a COPY ... and don't even think about a simpler way, we are on this earth to suffer.

That won't make a copy if any of the ddd elements have a newline in
them. Recall what (f) does.

Roman.




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