[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Source code lines counter

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-11 20:59:45 CEST

On Aug 11, 2006, at 20:30, Vigo, Nestor wrote:

> Are there any way to count source code lines that are included
> under a tag
> in Subversion?

There's nothing built into Subversion for that, but with standard
Unix command-line tools you could do something like this to count the
lines in all the .php files, say:

svn checkout $REPO/project/trunk
find trunk -type f -name '*.php' -print0 | xargs -0 wc -l

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 11 21:03:01 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.