0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/tools/updateAuthors.awk
2011-01-16 15:12:28 -08:00

14 lines
242 B
Awk

# 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 ">";
}
}