From 6928ee99df36313d97fc4bb7d2a198ec1b5b0a06 Mon Sep 17 00:00:00 2001 From: Tomas Musil Date: Sat, 12 Jul 2014 17:13:31 +0200 Subject: [PATCH 1/1] todo_count --- todo_count.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"/" -- 2.4.2