Hello, You may want to have a look at antcount: http://antcount.sourceforge.net/
Rgds, Patrick On 6/14/06, Aaron Davies <[EMAIL PROTECTED]> wrote:
I've got no problems with ant-contrib; I'm already using several of their tasks. Do they have something to do this? I didn't see one. On 6/14/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: > Nothing unless you want to go to antcontrib (I passed on that and wrote > a linecounter myself). > > > -----Original Message----- > From: Aaron Davies [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 4:14 PM > To: Ant Users List; Martin Gainty > Subject: Re: Count Lines of Text? > > On 6/14/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > > Aaron Davies wrote: > > > > > Is there a simple way to count lines of text in a property/file? Not > > > lines of source code or anything, just raw lines of text, like "wc > > > -l". I mean, I could probably do something with line terminators, > but > > > I'd rather have something that knows how to count lines properly on > > > multiple platforms. > > > > grep is your friend > > grep -c '^' FileName > > Not exactly cross-platform, is it? I might as well use "wc -l". I'm > looking for something done in ant itself. > -- > Aaron Davies > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Aaron Davies [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]