scripts/contributors.sh: strip one OR MORE leading spaces

From names found credited in commit logs
This commit is contained in:
Daniel Stenberg 2022-11-30 09:09:47 +01:00
parent 4e2146554a
commit 9967c10b6d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -70,7 +70,7 @@ cut '-d<' -f1 | \
tr , '\012' | \
sed 's/ at github/ on github/' | \
sed 's/ and /\n/' | \
sed -e 's/^ //' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/'
sed -e 's/^ *//' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/'
grep -a "^ [^ \(]" RELEASE-NOTES| \
sed 's/, */\n/g'| \