From 2042c50b8b09dc221bbe951a90330656edaa0475 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 23 Sep 2002 05:19:11 +0000 Subject: Updates git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2367 a1c6a512-1295-4272-9138-f99709370657 --- www/irc/irclogs.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'www/irc/irclogs.pl') diff --git a/www/irc/irclogs.pl b/www/irc/irclogs.pl index d020c634e1..cf69d2cfb7 100755 --- a/www/irc/irclogs.pl +++ b/www/irc/irclogs.pl @@ -11,6 +11,7 @@ print "\n"; $lasty = 0; $lastm = 0; +$count = 0; for ( @logs ) { $size = (stat("$_"))[7]; @@ -23,6 +24,7 @@ for ( @logs ) { $d = $3; $mname = ucfirst MonthNameEng($m); if ( $m != $lastm ) { + $count=0; print "\n" if $lastm != 0; # if ( $m % 6 == 0 ) { # print "\n"; @@ -33,6 +35,10 @@ for ( @logs ) { # $lines = `wc -l $file` + 0; # print "
  • $mname $d ($lines lines)\n"; print "
  • \n"; + if ( ++$count > 15 ) { + print "\n"; + $count=0; + } } } #print "
  • $_ ($size bytes) $log\n"; -- cgit v1.2.3
  • $d