Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Count your website's LOC using one Linux command | Better HN
Count your website's LOC using one Linux command
(karim-ouda.blogspot.com)
3 points · by
karimo
· 14y ago · 5 comments
Comments
[–]
piquadrat
14y ago
... or you could just use sloccount.
http://www.dwheeler.com/sloccount/
[–]
lardissone
14y ago
... or cloc:
http://cloc.sourceforge.net/
[–]
oakenshield
14y ago
Any shell script can be made one line with enough semicolons.
[–]
vy8vWJlco
14y ago
highly under-used: grep -c -e . -r .
[–]
cleverjake
14y ago
methinks the point of this is to do it without installing other tools.