diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2020-06-04 15:19:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 15:19:18 -0700 |
commit | c5e74835268abbade41524a0584d3b58e3b000f7 (patch) | |
tree | f9c4d9b0bfda35d0fea98690849db61c902248be /contrib/get-authors | |
parent | e7e9b3587f82bb57c25bc52fdb229687cded5e22 (diff) | |
parent | 6c608754e8058098e410e208d0b6cc0f586b79ca (diff) |
Merge branch 'master' into fixJavaTestsfixJavaTests
Diffstat (limited to 'contrib/get-authors')
-rwxr-xr-x | contrib/get-authors | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/get-authors b/contrib/get-authors index df147d10d..0fb3f6ae1 100755 --- a/contrib/get-authors +++ b/contrib/get-authors @@ -47,10 +47,8 @@ while [ $# -gt 0 ]; do '$2 !~ /^[ \t]*(#include|namespace|}.*namespace.*|[ \t]*$)/ {print $1}' | \ # Keep author names only, remove the last 4 columns in ( ... ) - awk 'NF{NF-=4};1' | \ - # Determine top three contributors - sort | uniq -c | sort -rn | head -n3 | \ + awk 'NF{NF-=4};1' | \ # Fix author names sed "s,Not Committed Yet <not.committed.yet>,$gituser," | \ @@ -68,6 +66,9 @@ while [ $# -gt 0 ]; do sed 's/yoni206/Yoni Zohar/' | \ sed 's/ayveejay/Andrew V. Jones/' | \ + # Determine top three contributors + sort | uniq -c | sort -rn | head -n3 | \ + # Remove first columns from uniq -c (number of lines) awk '{$1=""; print}' | \ |