]> git.donarmstrong.com Git - infobot.git/blobdiff - scripts/output_stats.sh
avoid reassigning to temp upon decode_utf8
[infobot.git] / scripts / output_stats.sh
old mode 100644 (file)
new mode 100755 (executable)
index bba1c38..a731473
@@ -1,9 +1,9 @@
 #!/bin/sh
+echo -n "DEBUG:  "; grep DEBUG `find infobot src -type f`| wc -l
+echo -n "WARN:   "; grep WARN `find infobot src -type f` | wc -l
+echo -n "FIXME:  "; grep FIXME `find infobot src -type f` | wc -l
+echo -n "status: "; grep status `find infobot src -type f` | wc -l
+echo -n "ERROR:  "; grep ERROR `find infobot src -type f` | wc -l
+echo -n "TODO:   "; grep TODO `find infobot src -type f` | wc -l
 
-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
-echo -n "TODO:   "; grep TODO `find -type f` | wc -l
+# vim:ts=4:sw=4:expandtab:tw=80