summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authora1346054 <36859588+a1346054@users.noreply.github.com>2022-09-12 20:21:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2022-09-13 10:18:50 +0200
commitc3a6165307b71bd9633f3a33f7803ca0f88a91d0 (patch)
treef0591338985dcd0f9507f29a85d87e80d3ba6c29 /scripts
parentd7973392022e7fc1a6f611cc371d5923b55a9907 (diff)
downloadcurl-c3a6165307b71bd9633f3a33f7803ca0f88a91d0.tar.gz
scripts: use `grep -E` instead of `egrep`
egrep is deprecated Closes #9491
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/contributors.sh2
-rwxr-xr-xscripts/contrithanks.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contributors.sh b/scripts/contributors.sh
index 6be35d51d..10dc8c433 100755
--- a/scripts/contributors.sh
+++ b/scripts/contributors.sh
@@ -63,7 +63,7 @@ fi
git -C ../curl-www log --pretty=full --use-mailmap $start..HEAD
fi
) | \
-egrep -ai '(^Author|^Commit|by):' | \
+grep -Eai '(^Author|^Commit|by):' | \
cut -d: -f2- | \
cut '-d(' -f1 | \
cut '-d<' -f1 | \
diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh
index 38c7b89ef..20b5cbf10 100755
--- a/scripts/contrithanks.sh
+++ b/scripts/contrithanks.sh
@@ -55,7 +55,7 @@ cat ./docs/THANKS
fi
) | \
-egrep -ai '(^Author|^Commit|by):' | \
+grep -Eai '(^Author|^Commit|by):' | \
cut -d: -f2- | \
cut '-d(' -f1 | \
cut '-d<' -f1 | \