Package list findbugs / acc93016-b974-4c55-bb05-a11ff0adc893/main etc / summarizeBugs
acc93016-b974-4c55-bb05-a11ff0adc893/main

Tree @acc93016-b974-4c55-bb05-a11ff0adc893/main (Download .tar.gz)

summarizeBugs @acc93016-b974-4c55-bb05-a11ff0adc893/mainraw · history · blame

#! /usr/bin/perl

use strict qw(refs vars);

my %counts = ();

while (<>) {
	if (/^(\S+\s+)?(\S+):/) {
		$counts{$2}++;
	}
}

foreach my $key (sort keys %counts) {
	my $count = $counts{$key};
	print "$key:\t$count\n";
}