Last active
March 25, 2019 12:25
-
-
Save obihann/ff5df377fa57830fb6fb3ff10c41db23 to your computer and use it in GitHub Desktop.
grep for common comment strings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -rniE "[ ]?\W\D(todo|fixme|hack|xxx|note|optimize|bug|wtf|later|lazy|why|fix)" * | |
grep -riEn --include=\*.php "(todo|hack|wtf|fixme|later|lazy|why|xxx|note|(^|[^e])bug|optomize|shit|fuck|damn)" ./ | |
grep -riEn --exclude=\*.css "(todo|hack|wtf|fixme|later|lazy|why|xxx|note|(^|[^e])bug|optomize|shit|fuck|damn)" ./ | |
grep --color=always -riEn "(todo|hack|wtf|fixme|later|lazy|why|xxx|note|(^|[^e])bug|optomize|shit|fuck|damn)" ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment