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…
x
Reference in New Issue
Block a user