From 803947a1c71320ec5300f459602fdc859c6a35e4 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Mon, 2 May 2022 22:45:09 +0200 Subject: [PATCH] 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 --- scripts/contributors.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.47.3