From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D349C6FA82 for ; Wed, 21 Sep 2022 19:26:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229977AbiIUT0U (ORCPT ); Wed, 21 Sep 2022 15:26:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbiIUT0Q (ORCPT ); Wed, 21 Sep 2022 15:26:16 -0400 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C535E93202 for ; Wed, 21 Sep 2022 12:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=66rcljKTkOZrwZgqNEXo+xZF7AoDxDT9ScP9aV+15Gc=; b=rVC//fao0B9QMsmbV5dysTAr4nSlIY7m9ISq3FAz53+FQ9oxEMyp3Bk8 NRkCoHPbjvA3n9vo6pM9oMPUTDPZ/HaE+DkFlbIzz8CmOQPLP9b8cP4o8 MZPDwjSxm6NAhj6BmH/2EEVHw851vN4QJNN5u/R6vKSslehwh59e/M3f2 s=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.93,334,1654552800"; d="scan'208";a="24337809" Received: from 51.123.68.85.rev.sfr.net (HELO hadrien) ([85.68.123.51]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 21:26:11 +0200 Date: Wed, 21 Sep 2022 21:26:10 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Greg Kroah-Hartman cc: cocci@inria.fr, linux-kernel@vger.kernel.org, Nicolas Palix Subject: Re: [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep" In-Reply-To: <20220921091341.217365-1-gregkh@linuxfoundation.org> Message-ID: References: <20220921091341.217365-1-gregkh@linuxfoundation.org> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Sep 2022, Greg Kroah-Hartman wrote: > The latest version of grep claims that egrep is now obsolete so the build > now contains warnings that look like: > egrep: warning: egrep is obsolescent; using grep -E > fix this up by moving the vdso Makefile to use "grep -E" instead. > > Cc: Julia Lawall > Cc: Nicolas Palix > Cc: cocci@inria.fr > Signed-off-by: Greg Kroah-Hartman Applied, thanks. > --- > scripts/coccicheck | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/coccicheck b/scripts/coccicheck > index caba0bff6da7..2956fce8fa4f 100755 > --- a/scripts/coccicheck > +++ b/scripts/coccicheck > @@ -47,7 +47,7 @@ FLAGS="--very-quiet" > # inspected there. > # > # --profile will not output if --very-quiet is used, so avoid it. > -echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null > +echo $SPFLAGS | grep -E -e "--profile|--show-trying" 2>&1 > /dev/null > if [ $? -eq 0 ]; then > FLAGS="--quiet" > fi > -- > 2.37.3 > >