From 1fab23c11c7879866dfc6fd8faa684a8a7449171 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 4 Jan 2014 21:29:55 -0300 Subject: [PATCH] ircstat/stat: add processing of irclog.whitequark.org; rename #milkymist to #m-labs --- ircstat/stat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ircstat/stat b/ircstat/stat index 93b6d82..41bd089 100755 --- a/ircstat/stat +++ b/ircstat/stat @@ -31,7 +31,8 @@ for y in 10 11 12 13; do # cat ${Q}_20${y}-${mm}-*.log.html | gzip -9 | wc -c >>_out qn=`sed 's/<[^>]*>/ /g' ${Q}_20${y}-${mm}-*.log.html | gzip -9 | wc -c` - mn=`sed 's/<[^>]*>/ /g' ${M}_20${y}-${mm}-*.log.html | + mn=`{ sed 's/<[^>]*>/ /g' ${M}_20${y}-${mm}-*.log.html; + sed 's/^[^ ]* //' m-labs/20${y}-${mm}.txt; } | gzip -9 | wc -c` echo $qn $mn >>_out n=`expr $n + 1` @@ -51,7 +52,7 @@ set title "Traffic on the Qi-Hardware IRC channels" set xlabel "Month" set ylabel "Traffic (kbytes gzip'ed)" plot "$src" using (\$1/1000) with lines title "#qi-hardware" lw 2, \ - "$src" using (\$2/1000) with lines title "#milkymist" lw 2, \ + "$src" using (\$2/1000) with lines title "#m-labs" lw 2, \ "$src" using :((\$1+\$2)/1000) with lines title "Both" lw 2 set term png set output "out.png"