Howdy,
On Fri, Aug 05, 2005 at 01:29:40PM -0500, Jim Garacci wrote:
> I was looking for a file utility to perform a grep action and get the
> results as a List.
>
> e.g. List matches = SomeUtility.grep(new File("my.log"), ".*ERROR.*");
>
> Is there anything like this implemented in one of the commons projects?
Maybe some regexp packages do what you want, if you apply a pattern
line-wise.
Cheers,
Ralf
--
Ralf Fischer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]