Skip to content

Instantly share code, notes, and snippets.

@arodbits
Last active September 25, 2017 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arodbits/a489cae415913e8199326212684e8bc8 to your computer and use it in GitHub Desktop.
Save arodbits/a489cae415913e8199326212684e8bc8 to your computer and use it in GitHub Desktop.
read regex patterns from a file
while read line; do egrep -r -e "$line" ./extracted --color --only-matching | awk -F':' '{print $1}' >> ./useful_files_list.txt ;done < ./csv-variables-grep.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment