Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38852 invoked from network); 23 Apr 2004 21:36:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Apr 2004 21:36:47 -0000 Received: (qmail 79489 invoked by uid 500); 23 Apr 2004 21:36:25 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 79452 invoked by uid 500); 23 Apr 2004 21:36:25 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 79389 invoked from network); 23 Apr 2004 21:36:24 -0000 Received: from unknown (HELO mail.echo-inc.com) (12.105.35.4) by daedalus.apache.org with SMTP; 23 Apr 2004 21:36:24 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.echo-inc.com (Postfix) with ESMTP id 524112BE26 for ; Fri, 23 Apr 2004 14:36:31 -0700 (PDT) Received: from mail.echo-inc.com ([127.0.0.1]) by localhost (smtp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21716-06 for ; Fri, 23 Apr 2004 14:36:30 -0700 (PDT) Received: from mailsvr1.prv.echo-inc.com (mailsvr1.prv.echo-inc.com [172.16.4.116]) by mail.echo-inc.com (Postfix) with SMTP id 881962BE23 for ; Fri, 23 Apr 2004 14:36:30 -0700 (PDT) Received: from isaiah4031 (unverified [10.10.10.199]) by mailsvr1.prv.echo-inc.com (EMWAC SMTPRS 0.83) with SMTP id ; Fri, 23 Apr 2004 14:36:30 -0700 From: "Ronald Trask" To: "'Ant Users List'" Subject: RE: linecount Date: Fri, 23 Apr 2004 15:36:28 -0600 Message-ID: <002601c4297b$0a4affa0$0d02000a@isaiah4031> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: X-Virus-Scanned: by amavisd-new at echo-inc.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N There are a number of utilities that you can use that do a better job of calculating the number of lines of code that are free if that is what you are looking for. Check out http://www.dwheeler.com/sloccount/ for one of the best. -----Original Message----- From: EJ Ciramella [mailto:eciramella@upromise.com] Sent: Friday, April 23, 2004 3:23 PM To: Ant Users List Subject: RE: linecount thanks a million! -----Original Message----- From: Dominique Devienne [mailto:DDevienne@lgc.com] Sent: Friday, April 23, 2004 5:23 PM To: 'Ant Users List' Subject: RE: linecount > From: EJ Ciramella [mailto:eciramella@upromise.com] > > What is the easiest way to count all the lines in all the files of a > project? I don't care about coding style/standards, just line count? cd project-top-level find . -name \*.java -print | wc -l or find . \( -name \*.java -o -name \*.cpp \) -print | wc -l If you have Java and C++ sources for example. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org