aboutsummaryrefslogtreecommitdiffstats
path: root/make-authors-short.pl
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-21 21:08:41 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-21 21:08:41 +0000
commit661e2475df701a964e994f8e3832507a23dab45b (patch)
tree62bc6eda12ef0a391f20964236b206d516bae51f /make-authors-short.pl
parent41deeb11031658c0949a1776fd5ef471202c2053 (diff)
Don't print empty lines follwing a }
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10948 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'make-authors-short.pl')
-rwxr-xr-xmake-authors-short.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/make-authors-short.pl b/make-authors-short.pl
index b4a47c3f8a..39cc77796f 100755
--- a/make-authors-short.pl
+++ b/make-authors-short.pl
@@ -1,11 +1,14 @@
#!/usr/bin/perl -w
+# $Id: make-authors-short.pl,v 1.2 2004/05/21 21:08:41 jmayer Exp $
+
# Remove tasks from individual author entries from AUTHORS file
# for use in the about dialog.
use strict;
my $subinfo=0;
+my $nextline;
while (<>) {
if (/(.*){/) {
@@ -13,6 +16,9 @@ while (<>) {
print "$1\n";
} elsif (/}/) {
$subinfo = 0;
+ if (($nextline = <>) !~ /^$/) {
+ print $nextline;
+ }
} elsif ($subinfo == 1) {
next;
} else {