#!/usr/bin/perl
@html = `curl --silent "http://sourceforge.net/tracker/?group_id=44306&atid=439118"`;
@entries = grep {/HREF=\"\/tracker\/index.php/} @html;
print "
\n";
print "submitted | id | summary | submitted by | assigned to |
\n";
for ( @entries ) {
if ( /NOWRAP>(\d+).*?HREF=\"(.*?)\">(.*?)<.*?(nbsp;|\*) (.*?)<.*?\>(\w+)<.*?\>(\w+) ) {
($submit, $assigned, $date, $id, $num, $summary) = ($7, $6, $5, $2, $1, $3);
$submit = "$submit" if ( $submit ne "nobody" );
$assigned = "$assigned" if ( $assigned ne "nobody" );
print "$date | $num | $summary | $submit | $assigned |
\n";
}
}
print "
\n";