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

Re: Accessing the evaluated expression which caused an error



On Sat, Sep 4, 2021, at 8:26 PM, Zach Riggle wrote:
> Will the (e) actually evaluate the parameters and execute them again? 
> Or just a single layer of expansion?

https://zsh.sourceforge.io/Doc/Release/Expansion.html#Parameter-Expansion-Flags

  e
    Perform single word shell expansions, namely parameter expansion,
    command substitution and arithmetic expansion, on the result.
    Such expansions can be nested but too deep recursion may have
    unpredictable effects.

-- 
vq




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