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

Re: Bug in Functions/Misc/regexp-replace



On Fri, Apr 30, 2021 at 1:14 PM Jacob Menke <linux.dev25@xxxxxxxxx> wrote:
>
> I vote for
>
> eval "$1=\$5"

I'd actually go for

typeset -g $1=$5

and avoid the eval entirely.




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