From 400eedd0c8f204bcdff7eb5006f34804100efab7 Mon Sep 17 00:00:00 2001 From: Zardshard <0azrune6@zard.anonaddy.com> Date: Thu, 25 May 2023 08:40:18 -0400 Subject: [PATCH] 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 Tested-by: Commit checker robot --- src/bin/leak_analyser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/leak_analyser.sh b/src/bin/leak_analyser.sh index af4ad13b84..b58dc405a8 100755 --- a/src/bin/leak_analyser.sh +++ b/src/bin/leak_analyser.sh @@ -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" ]