aboutsummaryrefslogtreecommitdiffstats
path: root/make-authors-short.pl
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-21 17:25:32 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-21 17:25:32 +0000
commit86246e685195b4383a7abeb516c72dbfd29a3253 (patch)
tree8ea5842d2ddbd486661eba8c3e8dd9e010bcc2e5 /make-authors-short.pl
parentd11a60de0d66709d2b5a3d04cd09705aa531ecae (diff)
convert AUTHORS file to a shorter version (without the tasks done)
for the about dialog svn path=/trunk/; revision=10944
Diffstat (limited to 'make-authors-short.pl')
-rwxr-xr-xmake-authors-short.pl21
1 files changed, 21 insertions, 0 deletions
diff --git a/make-authors-short.pl b/make-authors-short.pl
new file mode 100755
index 0000000000..b4a47c3f8a
--- /dev/null
+++ b/make-authors-short.pl
@@ -0,0 +1,21 @@
+#!/usr/bin/perl -w
+
+# Remove tasks from individual author entries from AUTHORS file
+# for use in the about dialog.
+
+use strict;
+
+my $subinfo=0;
+
+while (<>) {
+ if (/(.*){/) {
+ $subinfo = 1;
+ print "$1\n";
+ } elsif (/}/) {
+ $subinfo = 0;
+ } elsif ($subinfo == 1) {
+ next;
+ } else {
+ print;
+ }
+}