diff --git a/bin/git-authors b/bin/git-authors index 8ededdb..d9db333 100755 --- a/bin/git-authors +++ b/bin/git-authors @@ -38,7 +38,7 @@ authors() { if $NO_EMAIL; then # eamil will be used to uniq authors. git shortlog -sne | awk '{$1=""; sub(" ", ""); print}' | awk -F'<' '!x[$1]++' | awk -F'<' '!x[$2]++' \ - | awk -F'<' '{print $1}' + | awk -F'<' '{gsub(/ +$/, "", $1); print $1}' else git shortlog -sne | awk '{$1=""; sub(" ", ""); print}' | awk -F'<' '!x[$1]++' | awk -F'<' '!x[$2]++' fi