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"