in reply to compressed logfile grep
Also , pretty sure you could use map to replace the core searcher.my $usage=<<EOF; usage: These are your options punk. EOF die $usage unless ($#ARGV==3);
Which might reduce the number of operations you need for each match, rather than a while - if arrangement.print OUTFILE map { /$phrase/ && $_} <INFILE>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: compressed logfile grep
by Aristotle (Chancellor) on Nov 27, 2002 at 11:45 UTC |