From: Clyne Sullivan Date: Thu, 26 Sep 2019 15:45:18 +0000 (-0400) Subject: fixed todos.sh messing with lua comments X-Git-Tag: v0.2-alpha X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=5cceca5ec696e6626cea0ec07f9db1b28bb3b875;p=clyne%2Fgamedev2.git fixed todos.sh messing with lua comments --- 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