As you require each line to match 3 separate criteria you are effectively having to search each (matching) line 3 times.
If you have multiple cores, then you may be able to gain some performance by overlapping the searches by using separate processes to perform each of the searches:
grep '2010' file | grep '123.456.0.1' | grep '456.321.0.1'
In reply to Re: Parsing Large Text Files For Performance
by BrowserUk
in thread Parsing Large Text Files For Performance
by bigbot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |