Skip to content

Instantly share code, notes, and snippets.

@jdunck
Created March 7, 2014 15:54
Show Gist options
  • Save jdunck/9414127 to your computer and use it in GitHub Desktop.
Save jdunck/9414127 to your computer and use it in GitHub Desktop.
Find gendered language in code
find . -not \( -path '*node_module*' -o -path '*.git*' -o -path '*jasmine*' -o -path '*assets*' -o -type d \) | xargs grep -in -E '(\bhe\b)|(\bhis\b)|(\bher\b)|(\b\she\b)'
@jdunck
Copy link
Author

jdunck commented Mar 7, 2014

Maybe this will grow into a larger thing. If it doesn't work well for your codebase, please tell me about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment