aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtodo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/todo.sh b/todo.sh
index 9520eab..1215ede 100755
--- a/todo.sh
+++ b/todo.sh
@@ -12,7 +12,7 @@ do
echo "########################################" >> TODOS
echo $file >> TODOS
echo "========================================" >> TODOS
- grep -n -B 5 -A 5 "TODO" $file | sed s/--/========================================/g >> TODOS
+ grep -n -B 5 -A 5 "TODO" $file | sed s/^--/========================================/g >> TODOS
TODO_COUNT=$((TODO_COUNT+$(grep -c "TODO" $file)))
done