#!/usr/bin/perl #require "/home/dast/perl/date.pm"; opendir(DIR, ".") or die "Can't opendir()"; @logs = sort grep { /^rockbox-/ } readdir(DIR); closedir DIR; print "
$y | \n"; $lasty = $y; } else { print "||
---|---|---|
" if ( $m != $lastm ); } if ( $m != $lastm ) { $count=0; print " | $mname | \n"; $lastm = $m; } print "$d | \n"; if ( ++$count > 15 ) { print "
\n"; $count=0; } } } } print " |