Files
AdventuresInLestoria/Adventures in Lestoria/loc.sh
T
2024-01-17 17:22:23 +00:00

7 lines
440 B
Bash
Executable File

ALLTOTAL=$(wc -l $(find *.cpp *.h)|grep "total"|awk '{print $1}')
TOTAL=$(wc -l $(find *.cpp *.h -not -name "stb_vorbis.cpp" -not -name "stb_vorbis.h" -not -name "miniaudio.h" -not -name "olc*.h")|grep "total"|awk '{print $1}')
FILECOUNT=$(find *.cpp *.h -not -name "stb_vorbis.cpp" -not -name "stb_vorbis.h" -not -name "miniaudio.h" -not -name "olc*.h"|wc -l)
echo "ALL: $[ALLTOTAL]"
echo "$[TOTAL-FILECOUNT*37] (License lines Excluded)"