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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20110 invoked from network); 12 Sep 2022 09:08:50 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Sep 2022 09:08:50 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1662973731; b=pgu9HPT6Plwgij02VCD/tugVUwvss3IKFwtJG2Gkc0dYbISr9hgOC8ozjnY3jOvtzZLRvX+4Ds lxY1Bs0iHymtgfK3Z1/nfq12RkTnnVLZY22v18JBfJC8YeXS8lAJcGd5SAVv+URZjkzxj6PHoH Jx9hLY4JXE4+9mKHczBNVuNLdWfbijv/5uiqlj0p+sGYUo+FtZ/VTxO25RKi4sN1GlxQTeR2kW GZn3LEbpPWrNe5EDe/dy7AGfDMF0wsTjB7d3q89IA86WslGAAC5/1CNSl2Jzs0hd7Mp8kHn2eo akFjpKKxvy3pbVSezkqVZwpGECCikz/fo+YibELtlfBq7g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1662973731; bh=jkKnSmNitaiaX5qxDTFw7TPFbJ66NHFQwZZbL7lHGtU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:To:From:Date: References:In-Reply-To:Message-ID:MIME-Version:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=C0r9m/n4XWvxK92SuuFMT97Y/Bn9QNEF7QgX9WtiSHUJcjD0/otPGBTK1K3k9xzF7SyWG/gHQb bvKgfylVhMgN9BkmkUSY7CjmGCBicOdolWEbvc0CNAvvvRXUP73pA84KjMUSqKVoHy1dPvpsxB lOzOu6Zxr5HsDb3X/dhfGoC2BCgW95uFcv/hnbTcz1Og/PP006ojfeBZoP6FVOBFnGTpSa0UoQ NjipwLqcTbU1FKV7HPnaQTa/lX1QNCMTAhn3pi5suNfgMta/nzmFwEULYnSi40g2gECCgPHPoG NAOX2fYvy+eibhnc6AUo71ZulRBKQe0y1F+yJ9T8fILxvw==; 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-Transfer-Encoding: Content-Type:Subject:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=2OavGfl3sybnFospgS+iIfInhNssrUEOeJB+nbliWn4=; b=jzC4aT5squpIsMe+EQqqe/UAKv Jx1+7jG9rxKrJgxZC8870J1uSIRzwnedHf8jqISRvS/TOsaXkSk2XlAbPdGC8IHsri42jHJdhQbOB nGiWAjPwDTIETR/TSHN3NrDHejndfwa0sAbc7S86e324KfcR1G962i2fYmgUunBQNii6V8ZGRacqj Rs+c5OAp2/fBxH3F6LcaepA4DKV8wP6jI0WGRDEtRzr5NOxSuJuhOVCeea9SzoT+DkG7Rzr0t8VX5 BquCfwlsmsA9nnxBkiQBqgyrzGuczd9E5rNg51rLy3AIKiVoi+UE/6e/Mi6ecVJn4U3PUdeCRYTa/ ZQpbU5Tg==; Received: from authenticated user by zero.zsh.org with local id 1oXfQw-0004YU-7i; Mon, 12 Sep 2022 09:08:50 +0000 Authentication-Results: zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45177) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oXfQg-0004Cx-Og; Mon, 12 Sep 2022 09:08:35 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id EB3C35C00DF for ; Mon, 12 Sep 2022 05:08:33 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute2.internal (MEProxy); Mon, 12 Sep 2022 05:08:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm1; t=1662973713; x=1663060113; bh=2OavGfl3sybnFospgS+iIfInh NssrUEOeJB+nbliWn4=; b=fsHWqo4ublC2R3vy06DBK/XDJlXIumZQxidl/s0dc O4GqiW8KWQiejKDx8gevD0KzOSiAFBJ104my0o6hIPL0YuCfDztZcdzqDZdKgT8B cS/ogzfTgoCqmMtQg0sVVjq9r9pr+HtGQJSNvHQI3e+UqEr+coUB3y2L7B3LxgVQ HEwTTA33mYhToiReYP148qgFfjsjf5QNDaPt7lTvExJqN8RC3/grweTkZcBtOgjG sTZzuKiiiT19Q75ALhV6biyLS/Sp6z3HSVhg6TDjGw7rJPC95FIp2b/GwnKELObG 59cbfkF4Xo+3dcX71CyZOgi42Cxa9QxvrPPtZ8PD0nSow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1662973713; x=1663060113; bh=2 OavGfl3sybnFospgS+iIfInhNssrUEOeJB+nbliWn4=; b=enuMs8UDI0LfKENMl LGKhP/llRq20PVClX3zPbmtOiqnqqCM8/i37m+HikDusoVFljN8z6Ejp4ZCtziUe 27dd7awrjRjjb30eg2FhkmKd11HEuPzzL1uB1NorpOH1PAM35WOfC9BT3C3aLScQ o/dgq/33OJvYppbTDC9HIjWkGpZAopdjEb2xfIDdTgc6QM0dLso7aSITdXwVpdnb c1aWbHJoJlFh36sEoDakJQ+aYko9QOo/irO9+oQYCqHzeD2j0QCdHWADcZKMrlRR K03rByHg/4ATK1V22PrCgdB7L6B6qmLeAyaPS3JjDrP9NBF1qO9QllbY1ZTBdcDa jC6Zw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeduvddgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepfefhkeefve eileelheeiffdtkedujeelvdfhtdejtdeggedvuefffeelhefhvdfgnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrd hshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i425e4195:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C02232A20075; Mon, 12 Sep 2022 05:08:33 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-927-gf4c98c8499-fm-20220826.002-gf4c98c84 Mime-Version: 1.0 Message-Id: <5df78024-40cc-4919-9610-32fe7c761851@www.fastmail.com> In-Reply-To: <8D43BA5A-84FD-4737-8009-059430DD039E@kba.biglobe.ne.jp> References: <8D43BA5A-84FD-4737-8009-059430DD039E@kba.biglobe.ne.jp> Date: Mon, 12 Sep 2022 09:08:13 +0000 From: "Daniel Shahaf" To: zsh-workers@zsh.org Subject: Re: Deprecation of egrep Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 50625 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: Jun T wrote on Mon, 12 Sep 2022 07:30 +00:00: > +++ b/Test/ztst.zsh > @@ -94,6 +94,15 @@ tail() { > +egrep () { =E2=8B=AE > + [[ $line =3D *(${~1})* ]] && print $line May I suggest naming the function something else? =C2=ABegrep foo=C2=BB should interpret foo as an extended regular expression; this function doesn't. As to propagating configure's EGREP to ztst.zsh: propagating a single variable should be straightforward enough, but what about cross builds? configure runs on the build host and the test suite necessarily runs on the target host. Cheers, Daniel