diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-07-02 01:31:42 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-07-02 01:31:42 +0400 |
commit | 2998e3bafa60d94e88eb6a4c7f82d24b9c9f7ca7 (patch) | |
tree | fad6435cc7f2405341f9765741ac95cc4e8c2d07 /tools | |
parent | 24de2bd58ca6c4490d9af282ba16d4249565c41b (diff) |
Add my awk script to update AUTHORS file
Diffstat (limited to 'tools')
-rw-r--r-- | tools/updateAuthors.awk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/updateAuthors.awk b/tools/updateAuthors.awk new file mode 100644 index 00000000000..ad93357353a --- /dev/null +++ b/tools/updateAuthors.awk @@ -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 ">"; + } +} + |