From 42967e714c8a8abc38919297874b2f32a78fe6d7 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 18 Apr 2011 21:32:43 +0200 Subject: [PATCH] listing todo [] in notes --- bin/notes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/notes b/bin/notes index b0c43e7..1ac0a31 100755 --- a/bin/notes +++ b/bin/notes @@ -59,6 +59,11 @@ then elif [ "${ACTION}" == "edit" ] then vim ${TODAYPATH}/$( date +%d) + +elif [ "${ACTION}" == "todo" ] +then + cd ${NOTESPATH} + find . -type f | grep -v "/\." | xargs -d"\n" grep "\[\]" else echo "unknown action" exit 1