mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
Add my awk script to update AUTHORS file
This commit is contained in:
parent
24de2bd58c
commit
2998e3bafa
13
tools/updateAuthors.awk
Normal file
13
tools/updateAuthors.awk
Normal 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 ">";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user