cat writebug.cn/history

一个开发者的技术博客。

统计代码行数cloc (count lines of code)

统计代码行数可以使用cloc,gocloc

使用cloc

apt install cloc
cloc .
cloc xxx-source.tar.gz

使用gocloc

# https://github.com/hhatto/gocloc
gocloc .