History

Merge tag 'coccinelle-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux

Pull coccicheck update from Julia Lawall: "Modernize use of grep in coccicheck: Use 'grep -E' instead of 'egrep'" * tag 'coccinelle-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux: scripts: coccicheck: use "grep -E" instead of "egrep"

Linus Torvalds committed 3 years ago

Commit 2c91ce92 parents 51094a2 2d63e6a1 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/coccicheck+1−1
@@ -47,7 +47,7 @@ FLAGS="--very-quiet" · 46 unmodified lines
4747 # inspected there.
4848 #
4949 # --profile will not output if --very-quiet is used, so avoid it.
50−echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null
50+echo $SPFLAGS | grep -E -e "--profile|--show-trying" 2>&1 > /dev/null
5151 if [ $? -eq 0 ]; then
5252 FLAGS="--quiet"
5353 fi