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