Add my awk script to update AUTHORS file

This commit is contained in:
Ryan Dahl committed 2010-07-01 14:31:42 -07:00
1 parent 24de2bd58c
commit 2998e3bafa
1 file changed
+13
+13
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 ">";
}
}