Skip to content

Instantly share code, notes, and snippets.

@qtopie
Last active November 4, 2018 09:57
Show Gist options
  • Save qtopie/6c908af1ef9a994463e33678d2b3e27e to your computer and use it in GitHub Desktop.
Save qtopie/6c908af1ef9a994463e33678d2b3e27e to your computer and use it in GitHub Desktop.
Find file contains specific string
grep -rnwH ./ -e WIN32 | sed -e 's/\(.*\):[0-9+].*/\1/' | sort | uniq | grep -v Binary | xargs vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment