From f3edd1a22f1383b3d370f61a29a315630c96bfe0 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 9 Dec 2019 11:14:51 +0800 Subject: update --- scripts/refresh-todo.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/refresh-todo.sh (limited to 'scripts/refresh-todo.sh') diff --git a/scripts/refresh-todo.sh b/scripts/refresh-todo.sh new file mode 100755 index 0000000..a5f0bb2 --- /dev/null +++ b/scripts/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