From a1e81d2128286a8aa0f854c1b48d12be94758d0d Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Thu, 20 Oct 2022 22:20:42 +0200 Subject: [PATCH] git-stats.sh: strip trailing white space Signed-off-by: Robin Jarry --- contrib/git-stats.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/git-stats.sh b/contrib/git-stats.sh index 735817a..64a4040 100755 --- a/contrib/git-stats.sh +++ b/contrib/git-stats.sh @@ -20,4 +20,5 @@ while read -r commits author; do "$author" "$commits" "$files" "$adds" "-$subs" } done | -column -t -s ';' -N "$columns" -R "${columns#*,}" +column -t -s ';' -N "$columns" -R "${columns#*,}" | +sed -r 's/[[:space:]]+$//'