diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-11-05 12:59:53 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-11-05 13:01:37 +0100 |
commit | 54c8728cd70e1275f65fcbbf0a738bb11f3a154f (patch) | |
tree | 7ae0e0c70d32acae60678264d3dc7deee666deed /contributors.sh | |
parent | 08f10fcd0290d9af905962f573929d1c6f84bf43 (diff) | |
download | curl-54c8728cd70e1275f65fcbbf0a738bb11f3a154f.tar.gz |
contributors.sh: filter common alternative name spellings
docs/THANKS-filter is a new filter file for converting contributor names
we get or have recorded in alternative formats to the one we already use
in THANKS. To help us show individual contributors using a single
presentation of their names.
Diffstat (limited to 'contributors.sh')
-rwxr-xr-x | contributors.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contributors.sh b/contributors.sh index d148f5289..de1944d62 100755 --- a/contributors.sh +++ b/contributors.sh @@ -37,6 +37,7 @@ fi # split list of names at comma # cut off spaces first and last on the line # only count names with a space (ie more than one word) +# filter alternatives through THANKS-filter # sort all unique names # awk them into RELEASE-NOTES format git log $start..HEAD | \ @@ -46,7 +47,8 @@ cut '-d<' -f1 | \ tr , '\012' | \ sed -e 's/^ //' -e 's/ $//g' | \ grep ' ' | \ -sort -fu | +sed -f ./docs/THANKS-filter | \ +sort -fu | \ awk '{ num++; n = sprintf("%s%s%s,", n, length(n)?" ":"", $0); |