in reply to Shorten script
Here's my go.
while( <F>){ for $hit ( /matchPattern/gi) { print "PAGE ->\t$name\ndata ->", /(patternOne)/gi or /(patternTwo)/gi ? "\t\t$1\nMATCHED - >\t$hit\n" : "TEXT INFO HERE.\n"; push (@files, $name); $ct++ } } close F;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Shorten script
by ihb (Deacon) on Jul 23, 2003 at 08:42 UTC | |
by BrowserUk (Patriarch) on Jul 23, 2003 at 12:32 UTC | |
|
Re: Re: Shorten script
by Anonymous Monk on Jul 22, 2003 at 19:26 UTC |