[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-333
From: |
Gary V. Vaughan |
Subject: |
[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-333-g1b2390f |
Date: |
Thu, 20 Nov 2014 22:38:05 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".
http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=1b2390f2be02bcf31d9112034de33584596f598e
The branch, master has been updated
via 1b2390f2be02bcf31d9112034de33584596f598e (commit)
from 4e9147c19130312b6ae4e93d7982393b78dbfc3b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1b2390f2be02bcf31d9112034de33584596f598e
Author: Gary V. Vaughan <address@hidden>
Date: Thu Nov 20 22:37:10 2014 +0000
maint: add forgotten thanks-gen script.
* .gitignore: Don't ignore build-aux/thanks-gen.
* build-aux/thanks-gen: New script.
Signed-off-by: Gary V. Vaughan <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 1 +
build-aux/thanks-gen | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
create mode 100755 build-aux/thanks-gen
diff --git a/.gitignore b/.gitignore
index 18c2027..b196d98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,6 +30,7 @@ build-aux/
!build-aux/gl/
!build-aux/gnulib/
!build-aux/m4/
+!build-aux/thanks-gen
/ChangeLog
/config.cache
/config.h
diff --git a/build-aux/thanks-gen b/build-aux/thanks-gen
new file mode 100755
index 0000000..92090ce
--- /dev/null
+++ b/build-aux/thanks-gen
@@ -0,0 +1,20 @@
+#!/usr/bin/perl -nl
+# Use Perl's multi-byte alignment code, via sprintf, while
+# performing a rudimentary check for duplicate names and
+# removing duplicate name,email pairs.
+use Encode;
+
+BEGIN { my (%elide, %seen, %name) }
+
+chomp;
+my ($name, $email) = split '\0', decode ('UTF-8', $_);
+
+if ($elide{"!$name"}) {
+; # ignore this author
+} elsif (index ($name, '!') == 0) {
+ $elide{$name}++;
+} elsif ($seen{$name}++) {
+ warn "$0: NO-THANKS: duplicate name: $name\n";
+} else {
+ print encode ('UTF-8', sprintf ('%-36s', $name)), $email;
+}
hooks/post-receive
--
GNU M4 source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU M4 source repository branch, master, updated. cvs-readonly-333-g1b2390f,
Gary V. Vaughan <=