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"
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -47,7 +47,7 @@ FLAGS="--very-quiet" · 46 unmodified lines | |||
| 47 | # inspected there. | 47 | # inspected there. |
| 48 | # | 48 | # |
| 49 | # --profile will not output if --very-quiet is used, so avoid it. | 49 | # --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 |
| 51 | if [ $? -eq 0 ]; then | 51 | if [ $? -eq 0 ]; then |
| 52 | FLAGS="--quiet" | 52 | FLAGS="--quiet" |
| 53 | fi | 53 | fi |