summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-04-10 19:31:35 +0000
committerPaul Buetow <paul@buetow.org>2011-04-10 19:31:35 +0000
commitc74c292ca38e9955a4a06527a2ade32c618b6b12 (patch)
tree5971813ebfd50b07a94b0d627d164f903e743014
parente2c57a7e7b06308401968989c0323777106317d5 (diff)
-rwxr-xr-xscripts/stats/calc.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/stats/calc.sh b/scripts/stats/calc.sh
index 66732cb..85e5e85 100755
--- a/scripts/stats/calc.sh
+++ b/scripts/stats/calc.sh
@@ -17,18 +17,22 @@ perl='
ls=`ls *.log`
cat << STATS | less
-Weekly top 15:
+Weekly top list:
`echo "$ls" | tail -n 7 | xargs cat | perl -e "$perl"`
-Monthly top ten:
+Monthly top list:
`echo "$ls" | tail -n 28 | xargs cat | perl -e "$perl"`
-Yearly top ten:
+Yearly top list:
`echo "$ls" | tail -n 356 | xargs cat | perl -e "$perl"`
+Forever top list:
+
+`echo "$ls" | xargs cat | perl -e "$perl"`
+
This stats are powered by Perl, GNU AWK and Bourne Shell
STATS