summaryrefslogtreecommitdiff
path: root/tools/updateAuthors.awk
blob: 4ede6ffcea1e73724ec271ddd2fd10e5b76da511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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 ">";
  }
}