1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-22 03:02:50 +02:00

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.
This commit is contained in:
Werner Almesberger 2013-01-01 12:06:34 -03:00
parent 6a7c965f2e
commit 62aa854036

View File

@ -16,7 +16,7 @@ t=
>_out >_out
n=0 n=0
off=2 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 for m in 1 2 3 4 5 6 7 8 9 10 11 12; do
mm=`printf "%02d" $m` mm=`printf "%02d" $m`
[ "`echo ${Q}_20${y}-${mm}-*`" = "${Q}_20${y}-${mm}-*" ] && [ "`echo ${Q}_20${y}-${mm}-*`" = "${Q}_20${y}-${mm}-*" ] &&