Uses find and grep instead of for loop to make it easier to dynamically add patterns to recognize.
Files in the directory are not all iterated, but rather a list is created once by find and matching files are identified by one grep command, so there should be no performance impact for larger directories.
Fixes #45
Uses
find
andgrep
instead of for loop to make it easier to dynamically add patterns to recognize.Files in the directory are not all iterated, but rather a list is created once by find and matching files are identified by one grep command, so there should be no performance impact for larger directories.