]> git.donarmstrong.com Git - infobot.git/commitdiff
- show how many calls we do to DEBUG,WARN,FIXME,status and WARN
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 30 May 2001 15:19:31 +0000 (15:19 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 30 May 2001 15:19:31 +0000 (15:19 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@505 c11ca15a-4712-0410-83d8-924469b57eb5

scripts/output_stats.sh [new file with mode: 0644]

diff --git a/scripts/output_stats.sh b/scripts/output_stats.sh
new file mode 100644 (file)
index 0000000..5210890
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd src/
+echo -n "DEBUG:  "; grep DEBUG `find -type f`| wc -l
+echo -n "WARN:   "; grep WARN `find -type f` | wc -l
+echo -n "FIXME:  "; grep FIXME `find -type f` | wc -l
+echo -n "status: "; grep status `find -type f` | wc -l
+echo -n "ERROR:  "; grep ERROR `find -type f` | wc -l