0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools/updateAuthors.awk

14 lines
241 B
Awk
Raw Normal View History

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