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

Re: Printing arrays for use with $()



    Hi Bart :)

 * Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> On Aug 12,  4:57pm, DervishD wrote:
> }     array=( ${(ps:\0:)"$(print -N -- $list)"} )
> I still recommend "print -rN" here.

    Why? Just in case some file has a '\' sequence in its name, a
quote or something like that?

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...



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