- or download this
cat logfile|awk {'print $3'}|sort|uniq -c > counts.txt
- or download this
$occurences{(split)[2]}++ while (<>);
foreach $url (keys %occurences) {
print "$occurences{$url}\t$url\n";
}
- or download this
<prompt> perl -w programname logfiles