Skip to content

Instantly share code, notes, and snippets.

@jamesholcomb
Created October 1, 2020 18:46
Show Gist options
  • Save jamesholcomb/9c374ae997ea01278cf6ff36dfc04b57 to your computer and use it in GitHub Desktop.
Save jamesholcomb/9c374ae997ea01278cf6ff36dfc04b57 to your computer and use it in GitHub Desktop.
Bash functions
#!/bash/bin
# Recursively find all occurences of X in all *.js files excluding node_modules
egrep -lir --include=*.js "X" --exclude-dir="node_modules" .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment