diff --git a/kmod/src/Makefile b/kmod/src/Makefile index 7fd73191..c6741f6d 100644 --- a/kmod/src/Makefile +++ b/kmod/src/Makefile @@ -61,11 +61,11 @@ scoutfs-y += \ # .PHONY: $(src)/check_exported_types $(src)/check_exported_types: - @if egrep '\<[us](8|16|32|64\>)' $(src)/format.h $(src)/ioctl.h; then \ + @if grep -E '\<[us](8|16|32|64\>)' $(src)/format.h $(src)/ioctl.h; then \ echo "no raw types in exported headers, preface with __"; \ exit 1; \ fi - @if egrep '\<__packed\>' $(src)/format.h $(src)/ioctl.h; then \ + @if grep -E '\<__packed\>' $(src)/format.h $(src)/ioctl.h; then \ echo "no __packed allowed in exported headers"; \ exit 1; \ fi diff --git a/tests/funcs/filter.sh b/tests/funcs/filter.sh index 831702e3..0a7ac6b2 100644 --- a/tests/funcs/filter.sh +++ b/tests/funcs/filter.sh @@ -236,7 +236,7 @@ t_filter_dmesg() re="$re|File: /mnt/test.* PID:.* Comm: dd" re="$re|dio_warn_stale_pagecache*" - egrep -v "($re)" | \ + grep -v -E "($re)" | \ ignore_harmless_unwind_kasan_stack_oob | \ ignore_harmless_xfs_lockdep_warning } diff --git a/utils/sparse.sh b/utils/sparse.sh index adef573b..a31b3630 100755 --- a/utils/sparse.sh +++ b/utils/sparse.sh @@ -71,7 +71,7 @@ else m64="" fi -sparse $m64 $include $search/include "$@" 2>&1 | egrep -v "($RE)" | tee .sparse.output +sparse $m64 $include $search/include "$@" 2>&1 | grep -v -E "($RE)" | tee .sparse.output rm -f $defines