diff --git a/scripts/contributors.sh b/scripts/contributors.sh index a3a11d5243..f43f91d446 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -62,7 +62,7 @@ CURLWWW="${CURLWWW:-../curl-www}" git -C "$CURLWWW" log --pretty=full --use-mailmap "$start..HEAD" fi } | \ - grep -Eai '(^Author|^Commit|^ +[a-z-]+-by|^ +Credits-to):' | \ + grep -Eai '(^Author|^Commit|^ +[a-z-]+-(by|to)):' | \ cut -d: -f2- | \ cut '-d(' -f1 | \ cut '-d<' -f1 | \ diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 85f382b755..cea98976f5 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -62,7 +62,7 @@ tail -n +7 ./docs/THANKS | sed 's/ github/ github/i' > $rand git -C "$CURLWWW" log --use-mailmap "$start..HEAD" fi } | \ - grep -Eai '(^Author|^Commit|^ +[a-z-]+-by|^ +Credits-to):' | \ + grep -Eai '(^Author|^Commit|^ +[a-z-]+-(by|to)):' | \ cut -d: -f2- | \ cut '-d(' -f1 | \ cut '-d<' -f1 | \