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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1100 invoked from network); 4 Jul 2023 18:54:40 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Jul 2023 18:54:40 -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=FU27ZCAOVHHCX1yNqt44JdDAQLsJ4Vmv48piRoHXqzo=; b=bmYQUMAd36MK2XxIstVv6ei1aF 9InX0moy+wjCplxKs0iyPVnuSln6ksKVOJQQB7xv+LOj/sD56VIkpWZZ2salAtee42+cBH1Z4IYtV fFBbPxOXtpJAL73fHLpfwHgUK2UcS/181dfbQo1O9jTbNdox2jutLRNxgsnwViQFqIm6MU21+NemD eeXIabVrHlXZdhYq0laqDZ5QNKixl23csnffqX8MfZi1eFi/JW0zzoFqr/GwhW4cRqFvsgvMbgEhW iWb5BA2FzqkNq1H5pDv2Fs0jnx+MixhjeIheCe0vGpVnbEXhI11GDNUAgBMwGToRW4HrxHQMHA9J7 P0GtiKHA==; Received: by zero.zsh.org with local id 1qGlAd-000Ap8-9l; Tue, 04 Jul 2023 18:54:39 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qGlA1-000AU9-0z; Tue, 04 Jul 2023 18:54:04 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id C3CB627C0054; Tue, 4 Jul 2023 14:53:56 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute1.internal (MEProxy); Tue, 04 Jul 2023 14:53:56 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeggdduvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderreejnecuhfhrohhmpefnrgif rhgvnhgtvgcugggvlhojiihquhgviicuoehlrghrrhihvhesiihshhdrohhrgheqnecugg ftrfgrthhtvghrnhepvdekvdduledutefgfeeffedvleefheeljeejhedtkefgffeiffdv veehfeevleffnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhihvodhmvghsmhhtphgruhht hhhpvghrshhonhgrlhhithihqdduudehudekjeejtdegqdduudelvdejfeekhedqlhgrrh hrhihvpeepiihshhdrohhrghesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 04E3A31A0064; Tue, 4 Jul 2023 14:53:55 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-527-gee7b8d90aa-fm-20230629.001-gee7b8d90 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Tue, 04 Jul 2023 14:53:35 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Bart Schaefer" Cc: zsh-workers@zsh.org Subject: Re: [PATCH] Support the mksh's ${|func;} substitution Content-Type: text/plain X-Seq: 51901 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Mon, Jul 3, 2023, at 9:55 PM, Bart Schaefer wrote: > Given the foregoing, here's a proposed alternative to Sebastian's > patch. Formal doc and tests pending reaction. For reference/comparison, a similar feature was recently added to bash's devel branch: https://lists.gnu.org/archive/html/bug-bash/2023-05/msg00042.html (NB: I think the implementation has changed slightly since the original mailing list message, but the in-tree documentation should be up-to-date.) -- vq