grep -aisElr 'search string here' ./*
-a
-> search files as strings (this finds strings in note annotations)-i
-> ignore case-s
-> suppress errors-E
-> use extended regular expressions-l
-> only show the filename(s); remove this to see the line where the search string was found-r
-> search recursively
- Use
:grep
for Grep searching within Vim.
Last active
August 24, 2017 01:44
-
-
Save dusenberrymw/b3253fddb664bfd90c83fc554ea7b38e to your computer and use it in GitHub Desktop.
Grep Tips & Tricks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment