Skip to content

Instantly share code, notes, and snippets.

@xuyunan
Last active December 11, 2015 06:58
Show Gist options
  • Save xuyunan/4562677 to your computer and use it in GitHub Desktop.
Save xuyunan/4562677 to your computer and use it in GitHub Desktop.
代码统计
cd到相应目录,在终端中输入下面两个命令,输出结果相加
find ./ -name "*.m" -exec cat {} \; |wc -l
find ./ -name "*.h" -exec cat {} \; | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment