khuedoan-homelab/docs/Makefile
2021-04-20 01:14:11 +07:00

8 lines
185 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 }' \
>> todo.md