From 545a6aebae91fb84f9d49411d28a5101d9245aca Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Mon, 7 Mar 2022 20:53:55 -0500 Subject: [PATCH] Add `todo` script to grab yesterday's todo's Putting this in contrib/ because it's not the main use case. --- contrib/todo | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 contrib/todo diff --git a/contrib/todo b/contrib/todo new file mode 100755 index 0000000..277a530 --- /dev/null +++ b/contrib/todo @@ -0,0 +1,4 @@ +#!/bin/sh +# todo -- grab todos +N=${1:-1} +today -l "$N" | egrep '^(\[[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\]|todo:.*)$' -- libgit2 1.1.1