khuedoan-homelab/docs/Makefile
2021-05-01 22:51:55 +07:00

9 lines
196 B
Makefile

.POSIX:
todo:
printf "# TODO\n\n" > todo.md
git grep --line-number TODO .. ':!.' \
| awk --field-separator ':| TODO ' '{ printf "- [%s](%s#L%s)\n", $$4, $$1, $$2 }' \
| sort \
>> todo.md