Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Accessing the evaluated expression which caused an error
- X-seq: zsh-users 27086
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: "Zach Riggle" <zachriggle@xxxxxxxxx>, "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: Accessing the evaluated expression which caused an error
- Date: Sat, 04 Sep 2021 21:44:11 -0400
- Archived-at: <https://zsh.org/users/27086>
- In-reply-to: <CAMP9c5ngXWo4U2cjWeQtBr5+-tjA2gBu=Yi=k1STNkRidW1QAQ@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAMP9c5mLwUce-23zmZAbCtHU+q-BzLbYTV482YcohXoj__ynZw@mail.gmail.com> <CAH+w=7aT6rgWDnfr0A=j7nrv2PjQMDJddefRhTg_VrmU2YF_6w@mail.gmail.com> <CAMP9c5ncfwHjWMaFuf=u6WhvNiN_UqMMArxtmHt4A+HqFMN0NA@mail.gmail.com> <CAH+w=7bb70xKOe_z+WAr3F6BUq2BUw8FQURbigWL1OpgETQx8w@mail.gmail.com> <CAMP9c5ngXWo4U2cjWeQtBr5+-tjA2gBu=Yi=k1STNkRidW1QAQ@mail.gmail.com>
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