2004-05-21 17:25:32 +00:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2004-05-21 21:08:41 +00:00
|
|
|
|
2004-05-21 17:25:32 +00:00
|
|
|
# Remove tasks from individual author entries from AUTHORS file
|
|
|
|
# for use in the about dialog.
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
|
|
|
|
my $subinfo=0;
|
2004-05-21 21:08:41 +00:00
|
|
|
my $nextline;
|
2004-05-21 17:25:32 +00:00
|
|
|
|
|
|
|
while (<>) {
|
|
|
|
if (/(.*){/) {
|
|
|
|
$subinfo = 1;
|
|
|
|
print "$1\n";
|
|
|
|
} elsif (/}/) {
|
|
|
|
$subinfo = 0;
|
2004-08-12 21:45:12 +00:00
|
|
|
if (($nextline = <>) !~ /^[\s]*$/) {
|
2004-05-21 21:08:41 +00:00
|
|
|
print $nextline;
|
|
|
|
}
|
2004-05-21 17:25:32 +00:00
|
|
|
} elsif ($subinfo == 1) {
|
|
|
|
next;
|
|
|
|
} else {
|
2004-08-12 21:45:12 +00:00
|
|
|
s/^$/ /; # Make it a verbatim paragraph
|
2004-05-21 17:25:32 +00:00
|
|
|
print;
|
|
|
|
}
|
|
|
|
}
|