aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/git-stats.sh
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-10-20 22:20:42 +0200
committerRobin Jarry <robin@jarry.cc>2022-10-20 22:20:42 +0200
commita1e81d2128286a8aa0f854c1b48d12be94758d0d (patch)
tree9ef19a54acc61904d221f2bb59c1a9139d2aee21 /contrib/git-stats.sh
parentedd48c998161f7d0951f80885180d7b8e356e97e (diff)
downloadaerc-a1e81d2128286a8aa0f854c1b48d12be94758d0d.tar.gz
git-stats.sh: strip trailing white space
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'contrib/git-stats.sh')
-rwxr-xr-xcontrib/git-stats.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/git-stats.sh b/contrib/git-stats.sh
index 735817a1..64a40402 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:]]+$//'