Add my awk script to update AUTHORS file

This commit is contained in:
Ryan Dahl 2010-07-01 14:31:42 -07:00
parent 24de2bd58c
commit 2998e3bafa

13
tools/updateAuthors.awk Normal file
View File

@ -0,0 +1,13 @@
# git log --pretty='format:%ae %an' | tail -r | awk -f updateAuthors.awk
{
if (!x[$1]++) {
#print $0
n = split($0, a, " ");
s = a[2];
for (i = 3; i <= n ; i++) {
s = s " " a[i];
}
print s " <" $1 ">";
}
}