diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-07-01 14:31:42 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-07-01 14:31:42 -0700 |
commit | 2998e3bafa60d94e88eb6a4c7f82d24b9c9f7ca7 (patch) | |
tree | fad6435cc7f2405341f9765741ac95cc4e8c2d07 /tools/updateAuthors.awk | |
parent | 24de2bd58ca6c4490d9af282ba16d4249565c41b (diff) | |
download | node-new-2998e3bafa60d94e88eb6a4c7f82d24b9c9f7ca7.tar.gz |
Add my awk script to update AUTHORS file
Diffstat (limited to 'tools/updateAuthors.awk')
-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 0000000000..ad93357353 --- /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 ">"; + } +} + |