I have a file that has about 1000 patterns to match. For each pattern I want to limit for each pattern however when I use the -m option it will find the first 10 and stop. Is there a way to do this in an equivalent or speedier way?
zgrep -o -m10 -f /projects/test.indx /projects/incoming/SRR80527_2.gz;