Created
May 30, 2012 10:39
-
-
Save st63jun/2835415 to your computer and use it in GitHub Desktop.
現在のディレクトリ (サブディレクトリ含む) にある,コメント,空行を除いたJavaソースコードの行数を調べる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat `find . -name "*.java" -print` | sed -e '/¥/¥*/,/¥*¥//d' -e '/^[[:blank:]]*¥/¥/.*$/d' -e '/^[^[:graph:]]*$/d' | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment