Dedupe people with dodgy email addresses

This commit is contained in:
Oliver Blanthorn 2018-07-23 12:31:44 +01:00
parent 93e895e446
commit 6aef512fce
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -9,5 +9,5 @@ cd src/static
authors="../../build/static/authors.html"
sed "/REPLACETHIS/,$ d" authors.html > "$authors"
git shortlog -sn HEAD | cut -c8- | sed 's/^/<p>/' | sed 's/$/<\/p>/' >> "$authors"
git shortlog -sn HEAD | cut -c8- | awk '!seen[$0]++' | sed 's/^/<p>/' | sed 's/$/<\/p>/' >> "$authors"
sed "1,/REPLACETHIS/ d" authors.html >> "$authors"