diff options
-rwxr-xr-x | todo | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -51,7 +51,11 @@ elif [ "$OPTION" == "count" ]; then todo_find | grep -v $NAME | wc -l elif [ "$OPTION" == "show" ]; then if [ ! -z "$2" ] && [ -e "$2" ]; then - grep "TODO" $2 | sed -e 's/^ *//' + # Check TODO inside files + grep -i "todo" $2 | sed -e 's/^ *//' + + # Check also for FIXMEs + fixmes $2 fi elif [ "$OPTION" == "help" ]; then echo "usage: $BASENAME [list|count]" |