X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/ea124bf748e7ade121ce5b642a311fe7bbbd70c3..795740177a0fe3b6294f41b493ac0471ab077c1a:/todo_count.sh?ds=sidebyside diff --git a/todo_count.sh b/todo_count.sh index ce2ec14..dabdc48 100755 --- a/todo_count.sh +++ b/todo_count.sh @@ -1,3 +1,4 @@ #!/bin/bash -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"/"