]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
scripts/contributors.sh: strip one OR MORE leading spaces
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Nov 2022 08:09:47 +0000 (09:09 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Nov 2022 08:09:47 +0000 (09:09 +0100)
From names found credited in commit logs

scripts/contributors.sh

index 10dc8c433db7726da8ce86c8c2f32a9fe08c568b..caa6ad80dc46e69facf0de82ec090da6faf06f28 100755 (executable)
@@ -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'| \