Off-topic, but I just learned some awk... >awk '/;[:blank:]*/ { count++ } /(if|for|while|switch).*\(/ { count++ } END { print count; }' `find . -name \*.java` This should get reasonably close. awk exists for Windows but I don't know what the equivalent of find is. Probably faster to install Linux on your box! :^) Lou Farho wrote: >Can anyone point me to a good utility for performing line of code counter >for Java and C++? >The counter needs to count statements. > > >Thanks! >Lou > >
- Line of Code Counter? Lou Farho
- RE: Line of Code Counter? John Raley
- RE: Line of Code Counter? Flying Cloud
- RE: Line of Code Counter? Nick Chalko
- RE: Line of Code Counter? Brugge, John
- RE: Line of Code Counter? Lou Farho