todo_count
authorTomas Musil <tomik.musil@gmail.com>
Sat, 12 Jul 2014 15:13:31 +0000 (17:13 +0200)
committerTomas Musil <tomik.musil@gmail.com>
Sat, 12 Jul 2014 15:13:31 +0000 (17:13 +0200)
todo_count.sh

index feac328..dabdc48 100755 (executable)
@@ -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"/"