From 00b136155183ae522ca458e540a8cf29bf525e74 Mon Sep 17 00:00:00 2001 From: typebrook Date: Thu, 27 Feb 2020 16:32:37 +0800 Subject: update --- tools/refresh-todo.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/refresh-todo.sh (limited to 'tools/refresh-todo.sh') diff --git a/tools/refresh-todo.sh b/tools/refresh-todo.sh new file mode 100755 index 0000000..7931536 --- /dev/null +++ b/tools/refresh-todo.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# $1 as file, $2 as topic (Daily, Weekly, Monthly) +# change markdown check-list to empty +sed -i "/^## $2/,/^$/ s/\[.\]/\[ \]/" $1 -- cgit v1.2.3-70-g09d2