From: Tomas Musil Date: Sat, 12 Jul 2014 15:13:31 +0000 (+0200) Subject: todo_count X-Git-Url: http://git.tomasm.cz/imago.git/commitdiff_plain/6928ee99df36313d97fc4bb7d2a198ec1b5b0a06?ds=sidebyside;hp=49b35c093987f7864b5c70c8298b7b950baefaea todo_count --- diff --git a/todo_count.sh b/todo_count.sh index feac328..dabdc48 100755 --- a/todo_count.sh +++ b/todo_count.sh @@ -1,4 +1,4 @@ #!/bin/bash -grep --count TODO imago_pack/*.py pcf.c | cut -f2 -d":" | awk '{sum+=$1}END{printf "total %d\n=====\n", sum}' -grep --count TODO imago_pack/*.py pcf.c | sort -nr -t":" -k2 | cut -f2 -d"/" +grep --count TODO src/*.py pcf.c | cut -f2 -d":" | awk '{sum+=$1}END{printf "total %d\n=====\n", sum}' +grep --count TODO src/*.py pcf.c | sort -nr -t":" -k2 | cut -f2 -d"/"