summaryrefslogtreecommitdiffhomepage
path: root/scripts/refresh-todo.sh
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-09 11:14:51 +0800
committertypebrook <typebrook@gmail.com>2019-12-09 11:14:51 +0800
commitf3edd1a22f1383b3d370f61a29a315630c96bfe0 (patch)
tree426b304b53e562e3d9b342909cfdac1bed84904d /scripts/refresh-todo.sh
parente9c7bb34bd9778deebf3540640dc155c041840dd (diff)
update
Diffstat (limited to 'scripts/refresh-todo.sh')
-rwxr-xr-xscripts/refresh-todo.sh5
1 files changed, 5 insertions, 0 deletions
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 @@
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