Re: regexp recognition over a group of files

2006-09-16 Thread Antoine Levy-Lambert
r@ant.apache.org Betreff: Re: regexp recognition over a group of files > You missed a key fact in your response--I was careful in my problem > statement to say that I am looking for a list of files where the *contents* -- > not the file names -- contain a given regexp. How about an approac

Re: regexp recognition over a group of files

2006-09-16 Thread michael sorens
AIL PROTECTED]> > An: user@ant.apache.org > Betreff: Re: regexp recognition over a group of files > >> You missed a key fact in your response--I was careful in my problem >> statement to say that I am looking for a list of files where the *contents* >> -- >> not t

Re: regexp recognition over a group of files

2006-09-16 Thread Michael Sorens
. -Original Message- From: Matt Benson <[EMAIL PROTECTED]> To: Ant Users List Date: Fri, 15 Sep 2006 08:54:18 -0700 (PDT) Subject: Re: regexp recognition over a group of files In Ant 1.6.5: $${matched}=${matched} In Ant 1.7 (please test our betas) you can si

Re: regexp recognition over a group of files

2006-09-15 Thread Matt Benson
In Ant 1.6.5: $${matched}=${matched} In Ant 1.7 (please test our betas) you can simplify the pathconvert/echo: -i.e., pathconvert w/o a property sends result to the log; note also that the fileset can be specified directly rather than having to be nested

regexp recognition over a group of files

2006-09-15 Thread Michael Sorens
I am looking to do a task that is simple with the unix find command, but I cannot quite seem to grok all the pieces in ant to do it: I want to generate a list of files where the contents of each file contain--or do not contain, at my option--a particular string matching a regular expression. I w