khuedoan-homelab/docs/Makefile
2021-04-19 23:15:14 +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