Skip to content

Instantly share code, notes, and snippets.

@clarkdave
Created April 5, 2018 22:33
Show Gist options
  • Save clarkdave/4a115482fdcde61a657b49bd15aef83d to your computer and use it in GitHub Desktop.
Save clarkdave/4a115482fdcde61a657b49bd15aef83d to your computer and use it in GitHub Desktop.
multi line regex grep
brew install pcre2

find . -type f | xargs pcregrep -M 'pattern'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment