Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@naokits
Created December 22, 2013 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naokits/8085910 to your computer and use it in GitHub Desktop.
Save naokits/8085910 to your computer and use it in GitHub Desktop.
プロジェクトのソースコード量をアバウトに調べる方法
各ソースコードの行数とファイル名を表示
% find nana -type f \( -name '*.h' -or -name '*.m' \) | xargs wc -l
ソースコードのファイ名、行数を、最後に行数の合計を表示
% find nana -type f \( -name '*.h' -or -name '*.m' \) | wc -l
@naokits
Copy link
Author

naokits commented Dec 22, 2013

備忘録

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment