From: Daniel Gustafsson Date: Mon, 2 May 2022 20:45:09 +0000 (+0200) Subject: contributors: strip off final comma X-Git-Tag: curl-7_83_1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=803947a1c71320ec5300f459602fdc859c6a35e4;p=thirdparty%2Fcurl.git contributors: strip off final comma The final row of contributors should not end with a comma as it's the end of the list. Closes: #8785 Reviewed-by: Daniel Stenberg --- diff --git a/scripts/contributors.sh b/scripts/contributors.sh index 6f3cf6af20..4779c3528b 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -91,7 +91,8 @@ awk '{ } END { - printf(" %s\n", p); + pp=substr(p,1,length(p)-1); + printf(" %s\n", pp); printf(" (%d contributors)\n", num); }