From 62aa854036d70e4033c6d155c7b0e0715f8e3c81 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 1 Jan 2013 12:06:34 -0300 Subject: [PATCH] ircstat/stat: add 2013 The "stat" script always cuts off the last month, so in order to show December 2012, we already need January 2013. --- ircstat/stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircstat/stat b/ircstat/stat index 2fdbf14..0d8b6d5 100755 --- a/ircstat/stat +++ b/ircstat/stat @@ -16,7 +16,7 @@ t= >_out n=0 off=2 -for y in 10 11 12; do +for y in 10 11 12 13; do for m in 1 2 3 4 5 6 7 8 9 10 11 12; do mm=`printf "%02d" $m` [ "`echo ${Q}_20${y}-${mm}-*`" = "${Q}_20${y}-${mm}-*" ] &&