From 021d2df326adba6fe9c028d65d1445a28753773e Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 8 Sep 2020 11:18:49 +0800 Subject: update --- tools/misc/refresh-todo.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/misc/refresh-todo.sh (limited to 'tools/misc/refresh-todo.sh') diff --git a/tools/misc/refresh-todo.sh b/tools/misc/refresh-todo.sh new file mode 100755 index 0000000..7931536 --- /dev/null +++ b/tools/misc/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