aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/misc/refresh-todo.sh
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-09-08 11:18:49 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-09-08 11:18:49 +0800
commit021d2df326adba6fe9c028d65d1445a28753773e (patch)
treebba8188ff9645a1abe445529016f58f5e276e704 /tools/misc/refresh-todo.sh
parent4944344d5add3d8b8265deef39dd368d44873c1b (diff)
update
Diffstat (limited to 'tools/misc/refresh-todo.sh')
-rwxr-xr-xtools/misc/refresh-todo.sh5
1 files changed, 5 insertions, 0 deletions
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 @@
1#!/bin/bash
2
3# $1 as file, $2 as topic (Daily, Weekly, Monthly)
4# change markdown check-list to empty
5sed -i "/^## $2/,/^$/ s/\[.\]/\[ \]/" $1