0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 16:34:05 +01:00
nodejs/tools/updateAuthors.awk

14 lines
242 B
Awk
Raw Normal View History

2011-01-17 00:12:28 +01:00
# git log --pretty='format:%ae %an' | tac | awk -f tools/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 ">";
}
}