Last active
September 25, 2017 21:47
-
-
Save arodbits/a489cae415913e8199326212684e8bc8 to your computer and use it in GitHub Desktop.
read regex patterns from a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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