Skip to content

Instantly share code, notes, and snippets.

@nir0s
Created June 5, 2014 06:22
Show Gist options
  • Save nir0s/e5eec7d6a2efb150c738 to your computer and use it in GitHub Desktop.
Save nir0s/e5eec7d6a2efb150c738 to your computer and use it in GitHub Desktop.
create a todo file from your in-code "# TODO:" strings
# run from repo dir
grep '# TODO' -rn * --exclude-dir=docs --exclude-dir=build --exclude-dir=*.egg --exclude=TODO.md | sed 's/: \+#/: # /g;s/:#/: # /g' | sed -e 's/^/- /' | grep -v Makefile > TODO.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment