git-stats.sh: strip trailing white space

Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Robin Jarry 2022-10-20 22:20:42 +02:00
parent edd48c9981
commit a1e81d2128

View file

@ -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:]]+$//'