zsh-users
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Zach Riggle" <zachriggle@gmail.com>,
	"Bart Schaefer" <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: Accessing the evaluated expression which caused an error
Date: Sat, 04 Sep 2021 21:44:11 -0400	[thread overview]
Message-ID: <5123943f-f831-4030-9c9a-ba3b7b99a40a@www.fastmail.com> (raw)
In-Reply-To: <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


  reply	other threads:[~2021-09-05  1:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03  1:42 Zach Riggle
2021-09-03 17:14 ` Bart Schaefer
2021-09-03 17:38   ` Zach Riggle
2021-09-04 20:08     ` Bart Schaefer
2021-09-05  0:26       ` Zach Riggle
2021-09-05  1:44         ` Lawrence Velázquez [this message]
2021-09-05  2:08         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5123943f-f831-4030-9c9a-ba3b7b99a40a@www.fastmail.com \
    --to=larryv@zsh.org \
    --cc=schaefer@brasslantern.com \
    --cc=zachriggle@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).