From 2998e3bafa60d94e88eb6a4c7f82d24b9c9f7ca7 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 1 Jul 2010 14:31:42 -0700 Subject: [PATCH] Add my awk script to update AUTHORS file --- tools/updateAuthors.awk | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools/updateAuthors.awk 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 ">"; + } +} +