in reply to Re: Matching lines in 2+ GB logfiles.
in thread Matching lines in 2+ GB logfiles.
This is very close to what mscharrer suggested before.while ( $window =~ m/([a-zA-Z]{3}\s{1,2}\d{1,2}.*\n)/oigc ) { $line = $1; if ( $1 =~ /$re/ ) { &$callback($line); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Matching lines in 2+ GB logfiles.
by dbmathis (Scribe) on May 02, 2008 at 13:25 UTC |