diff options
| -rwxr-xr-x | scripts/refresh-todo.sh | 5 |
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 | ||
| 5 | sed -i "/## $2/,/^$/ s/\[.\]/\[ \]/" $1 | ||