my $log = '/var/log/httpd-access.log'; open my $fh, "/usr/bin/egrep 'corp.home.ge.com|scotland.gcf.home.ge.co +m' $log |") or die "egrep failed on $log: $!"; while ( <$fh> ) { ... } close ($fh);
In reply to Re: Reduce the time taken for Huge Log files
by Anonymous Monk
in thread Reduce the time taken for Huge Log files
by pr19939
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |