commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: Grep file utility
Date Fri, 05 Aug 2005 19:31:00 GMT
Ant probalby have something for that.

I wonder if that would be a good compliment to my Finder package. A
Java implementation of popular unix tools.

Hen

On 8/5/05, Jim Garacci <jgaracci@gmail.com> 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?
> 
> Thanks,
> 
> -Jim
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message