mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
Add my awk script to update AUTHORS file
This commit is contained in:
1 parent
24de2bd58c
commit
2998e3bafa
1 file changed
+13
@@ -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 ">";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user