You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by EJ Ciramella <ej...@upromise.com> on 2006/05/11 23:10:51 UTC

Counting lines in a file

Is there any good way to count how many lines in a file there is?

Re: Counting lines in a file

Posted by Rich Wagner <ri...@savaje.com>.
> Is there any good way to count how many lines in a file there is?

You could also write a simple, custom Task to do this; see the online 
Ant manual for guidance...

-- Rich Wagner


Re: Counting lines in a file

Posted by Jeffrey E Care <ca...@us.ibm.com>.
exec wc

____________________________________________________________________________________________ 

Jeffrey E. (Jeff) Care 
carej@us.ibm.com 
IBM WebSphere Application Server Development 
WAS Pyxis Lead Release Engineer 






"EJ Ciramella" <ej...@upromise.com> 
05/11/2006 05:10 PM
Please respond to
"Ant Users List" <us...@ant.apache.org>


To
"Ant Users List" <us...@ant.apache.org>
cc

Subject
Counting lines in a file






Is there any good way to count how many lines in a file there is?