Depending on the size of the files, there may be some gain or loss in time by sorting both files and then iterate through the source patterns and work on successive manageable chunks from the data file. This will bring extra complexity to the script, but the issue is speed.
In reply to Re: Pattern matching across two files, Need something better than grep -f!
by olus
in thread Pattern matching across two files, Need something better than grep -f!
by anasuya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |