[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.22.394.2209212125590.2783@hadrien>
Date: Wed, 21 Sep 2022 21:26:10 +0200 (CEST)
From: Julia Lawall <julia.lawall@...ia.fr>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
cc: cocci@...ia.fr, linux-kernel@...r.kernel.org,
Nicolas Palix <nicolas.palix@...g.fr>
Subject: Re: [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep"
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 <Julia.Lawall@...ia.fr>
> Cc: Nicolas Palix <nicolas.palix@...g.fr>
> Cc: cocci@...ia.fr
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
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
>
>
Powered by blists - more mailing lists