leak_analyser.sh: Remove usage of obsolescent egrep

Change-Id: Ibd1228238901cb7b1e117e0c611be64046c14b4e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6472
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
Zardshard
2023-05-25 17:38:55 +00:00
committed by waddlesplash
parent b3e608ab9f
commit 400eedd0c8
+1 -1
View File
@@ -137,7 +137,7 @@ ALLOCATIONS=$(cat "$FILENAME" | grep -E "^allocation: |^ " | tr '\n' '^' \
if [ ! -z "$EXCLUDE_PATTERN" ]
then
ALLOCATIONS=$(echo "$ALLOCATIONS" | egrep -v "$EXCLUDE_PATTERN")
ALLOCATIONS=$(echo "$ALLOCATIONS" | grep -E -v "$EXCLUDE_PATTERN")
fi
if [ -z "$ALLOCATIONS" ]