From 72db3931bda1a0630c80bf3f04e46db18ab7ad49 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 28 Oct 2012 09:37:50 -0300 Subject: [PATCH] ircstat/stat: new option -a to also plot the last (partial) month --- ircstat/stat | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ircstat/stat b/ircstat/stat index 686e4af..2fdbf14 100755 --- a/ircstat/stat +++ b/ircstat/stat @@ -3,6 +3,14 @@ Q=en.qi-hardware.com/irclogs/qi-hardware M=en.qi-hardware.com/mmlogs/milkymist # Saving to: `en.qi-hardware.com/irclogs/qi-hardware_2010-06-11.log.html' +all=false +case "$1" in +-a) all=true;; +"") break;; +*) echo "usage: $0 [-a]" 1>&2 + exit 1;; +esac + N=3 t= >_out @@ -30,7 +38,11 @@ for y in 10 11 12; do done done -src="