commit 545a6aebae91fb84f9d49411d28a5101d9245aca (patch) parent cb14171c43373c7fdaa058b7bd8b383bbdcfe12b Author: Alex Karle <alex@alexkarle.com> Date: Mon, 7 Mar 2022 20:53:55 -0500 Add `todo` script to grab yesterday's todo's Putting this in contrib/ because it's not the main use case. Diffstat:
A | contrib/todo | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/contrib/todo 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:.*)$'