2016-10-14 15:01:10 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# List XXXs, FIXMEs and TODOs in files
|
2023-02-28 02:38:25 +01:00
|
|
|
#
|
|
|
|
# This uses ripgrep, and you may supply globs, e.g. to ignore files like this:
|
|
|
|
#
|
|
|
|
# XXX .vimrc .vim --glob '!.vim/bundle/**'
|
|
|
|
#
|
|
|
|
rg --pcre2 '^(?!.*mktemp).*\KXXX|FIXME|TODO' "$@"
|