basic Awk question, but I can't seem to find an answer anywhere:
I have a folder of 50000 txt files, from which I would like to run AWK searches on a subset. I've saved the filenames I want to limit the search to in a separate document. This would greatly speed up the search, which at the moment looks like this:
awk -F "searchTerm" '{print NF-1}' data/output/*>> output.txt
Many thanks