From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30339 invoked from network); 5 Sep 2021 01:45:28 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 5 Sep 2021 01:45:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Subject:Cc:To:From:Date: References:In-Reply-To:Message-Id:Mime-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=KMhZE9PQBVDwmXTQgGlH5DxhtU/VP7Uj2DVxVrc/vrg=; b=DCMy+XO9qffe59VHhvgLn62L82 GJF6xlJi2w/p5OK4nqcGLvCRQAYjFUNwv+apE81WP+cK5YAPW2a8cUXcOfuth+URt3KYseWg06LtZ CEVtMSDfA9SpeHfExwK3/JaCqVWbMGwtFlShVoa16d78AZofzqHXmsQp4bxs+5Ltqf5bb5RPpR/is 77olbvpeurrtKkXlzjy54t1X+U6zQoKQwoHKwCMWoANBNqBESJMPeL96C+dimtrUzbCudO/p5uA3l RYj92QLnfS1rULd5yIGj1WVljfmVxbWI1MShnJkW4lMvuAPWur/Vq8yS/K6LEUwnGsgiIIa+ytEQE 1rxihHNw==; Received: from authenticated user by zero.zsh.org with local id 1mMhDr-000N66-IW; Sun, 05 Sep 2021 01:45:27 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mMhD1-000MOh-6F; Sun, 05 Sep 2021 01:44:36 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 585D727C0054; Sat, 4 Sep 2021 21:44:33 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Sat, 04 Sep 2021 21:44:33 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeftddggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepnfgrfihr vghntggvpgggvghljoiiqhhuvgiiuceolhgrrhhrhihvseiishhhrdhorhhgqeenucggtf frrghtthgvrhhnpeehgfelledufeelheethffhieekkedvtdeuhfdtgffhiefhtedvjeet veehieduleenucffohhmrghinhepshhouhhrtggvfhhorhhgvgdrihhonecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhihvodhmvghs mhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudehudekjeejtdegqdduudelvdejfe ekhedqlhgrrhhrhihvpeepiihshhdrohhrghesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C9D18A002E4; Sat, 4 Sep 2021 21:44:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1126-g6962059b07-fm-20210901.001-g6962059b Mime-Version: 1.0 Message-Id: <5123943f-f831-4030-9c9a-ba3b7b99a40a@www.fastmail.com> In-Reply-To: References: Date: Sat, 04 Sep 2021 21:44:11 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Zach Riggle" , "Bart Schaefer" Cc: zsh-users@zsh.org Subject: Re: Accessing the evaluated expression which caused an error Content-Type: text/plain X-Seq: 27086 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: 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