* [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep"
@ 2022-09-21 9:13 Greg Kroah-Hartman
2022-09-21 19:26 ` Julia Lawall
0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2022-09-21 9:13 UTC (permalink / raw)
To: cocci; +Cc: linux-kernel, Greg Kroah-Hartman, Julia Lawall, Nicolas Palix
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@inria.fr>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Cc: cocci@inria.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep"
2022-09-21 9:13 [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep" Greg Kroah-Hartman
@ 2022-09-21 19:26 ` Julia Lawall
2022-11-18 8:43 ` Tiezhu Yang
0 siblings, 1 reply; 4+ messages in thread
From: Julia Lawall @ 2022-09-21 19:26 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: cocci, linux-kernel, Nicolas Palix
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@inria.fr>
> Cc: Nicolas Palix <nicolas.palix@imag.fr>
> Cc: cocci@inria.fr
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep"
2022-09-21 19:26 ` Julia Lawall
@ 2022-11-18 8:43 ` Tiezhu Yang
2022-11-20 4:48 ` [cocci] " Julia Lawall
0 siblings, 1 reply; 4+ messages in thread
From: Tiezhu Yang @ 2022-11-18 8:43 UTC (permalink / raw)
To: julia.lawall; +Cc: cocci, gregkh, linux-kernel, nicolas.palix
Hi,
This patch can not be found in the torvalds/linux.git or
next/linux-next.git tree, please take a look, thank you.
Thanks,
Tiezhu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [cocci] [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep"
2022-11-18 8:43 ` Tiezhu Yang
@ 2022-11-20 4:48 ` Julia Lawall
0 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2022-11-20 4:48 UTC (permalink / raw)
To: Tiezhu Yang; +Cc: cocci, gregkh, linux-kernel, nicolas palix
> Hi,
>
> This patch can not be found in the torvalds/linux.git or
> next/linux-next.git tree, please take a look, thank you.
I missed the last merge window. It is in my tree on kernel.org, though.
julia
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-20 4:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 9:13 [PATCH] scripts: coccicheck: use "grep -E" instead of "egrep" Greg Kroah-Hartman
2022-09-21 19:26 ` Julia Lawall
2022-11-18 8:43 ` Tiezhu Yang
2022-11-20 4:48 ` [cocci] " Julia Lawall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).