Skip to content
Snippets Groups Projects
Commit 14de67fc authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

contributors.sh: split lists using " and "

... and require the space after the filtering to make the filter able to
remove names.
parent 783c7f97
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,10 @@ fi
# filter out Author:, Commit: and *by: lines
# cut off the email parts
# split list of names at comma
# split list of names at " and "
# 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
# only count names with a space (ie more than one word)
# sort all unique names
# awk them into RELEASE-NOTES format
git log $start..HEAD | \
......@@ -45,9 +46,10 @@ egrep -i '(Author|Commit|by):' | \
cut -d: -f2- | \
cut '-d<' -f1 | \
tr , '\012' | \
sed 's/ and /\n/' | \
sed -e 's/^ //' -e 's/ $//g' | \
grep ' ' | \
sed -f ./docs/THANKS-filter | \
grep ' ' | \
sort -fu | \
awk '{
num++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment