diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-08 11:18:49 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-08 11:18:49 +0800 |
commit | 021d2df326adba6fe9c028d65d1445a28753773e (patch) | |
tree | bba8188ff9645a1abe445529016f58f5e276e704 /tools/misc/refresh-todo.sh | |
parent | 4944344d5add3d8b8265deef39dd368d44873c1b (diff) |
update
Diffstat (limited to 'tools/misc/refresh-todo.sh')
-rwxr-xr-x | tools/misc/refresh-todo.sh | 5 |
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 | ||
5 | sed -i "/^## $2/,/^$/ s/\[.\]/\[ \]/" $1 | ||