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

Re: quoting words



On Tue, Sep 28, 2021 at 4:39 AM Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
>
> a=(sa\ bb cc\ dd); a=${(qq@)"${a[@]}"}; typeset -p a; echo -e $a

It should be sufficient to do

a=${(qqq)a}




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