4 ms·
To be fair Kubernetes itself probably has 17k lines of bash, and it is a good thing. It is the first go-to project that I use as a reference for bash scripting
by jozvolskyef 6y ago
To be fair Kubernetes itself probably has 17k lines of bash, and it is a good thing. It is the first go-to project that I use as a reference for bash scripting best practices.
edit: wc reports 47023 lines in *.sh[1], out of which 23836 are unique[2].
[1]:
find . -name '*.sh' | xargs cat | wc -l
[2]:
find . -name '*.sh' | xargs cat | sort | uniq | wc -l
- oddlama 6y agoYou might enjoy having a look at https://github.com/AlDanial/cloc https://github.com/AlDanial/cloc It can distinguish between actual lines of code, comments and empty lines for a lot of different languages.