You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
294 B
14 lines
294 B
1 year ago
|
#Returns the line counts of your project.
|
||
|
#C++
|
||
|
shopt -s extglob
|
||
|
ls -1 @(*.h|*.cpp) > temp
|
||
|
while read a; do
|
||
|
if [ "$a" != "pixelGameEngine.h" ] && [ "$a" != "soundwaveEngine.h" ] && [ "$a" != "splash.h" ];
|
||
|
then
|
||
|
echo -e "$a\n" >> temp2
|
||
|
fi
|
||
|
done < temp
|
||
|
wc -l $(cat temp2)
|
||
|
|
||
|
rm temp
|
||
|
rm temp2
|