diff options
author | typebrook <typebrook@gmail.com> | 2019-12-26 00:36:06 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-26 00:36:06 +0800 |
commit | e6576bb0def5cbd39a79810e8c88c7f6b4cc373e (patch) | |
tree | 52b33bb71582e453f113d9b5d979db4736ad217c /scripts/refresh-todo.sh | |
parent | 39f6ee88cc25c09eada0e7f752b731c60eca6885 (diff) |
update
Diffstat (limited to 'scripts/refresh-todo.sh')
-rwxr-xr-x | scripts/refresh-todo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/refresh-todo.sh b/scripts/refresh-todo.sh index a5f0bb2..7931536 100755 --- a/scripts/refresh-todo.sh +++ b/scripts/refresh-todo.sh | |||
@@ -2,4 +2,4 @@ | |||
2 | 2 | ||
3 | # $1 as file, $2 as topic (Daily, Weekly, Monthly) | 3 | # $1 as file, $2 as topic (Daily, Weekly, Monthly) |
4 | # change markdown check-list to empty | 4 | # change markdown check-list to empty |
5 | sed -i "/## $2/,/^$/ s/\[.\]/\[ \]/" $1 | 5 | sed -i "/^## $2/,/^$/ s/\[.\]/\[ \]/" $1 |