Re: Source code lines counter
From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-08-11 22:45:21 CEST
Noah Slater wrote:
You do want to prune the .svn directories and handle names with whitespace in it:
find . -name .svn -prune -o -type f -print0 | xargs -0 cat | wc -l
If you don't mind seeing the line counts for each file and run a little faster:
find . -name .svn -prune -o -type f -print0 | xargs -0 wc -l
Regards,
---------------------------------------------------------------------
|
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.