Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add my awk script to update AUTHORS file

  • Loading branch information...
commit 2998e3bafa60d94e88eb6a4c7f82d24b9c9f7ca7 1 parent 24de2bd
@ry ry authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 tools/updateAuthors.awk
View
13 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 ">";
+ }
+}
+
Please sign in to comment.
Something went wrong with that request. Please try again.