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

Re: ZSH equivalent of Bash' ! operator



On Sat, 2023-08-26 at 14:51 +0700, Budi wrote:
> What'd be ZSH equivalent of Bash' ! operator that indirectly
> references variable
> 
> $ m=foo; foo=bar ; echo ${!m}

% m=foo; foo=bar; echo ${(P)m}
bar

Phil.




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