3 # this is supposed to count lines
13 for src_file
in $
(ls src
)
16 if [[ ! $src_file =~
"~$" ]] && [[ $
(file src
/$src_file) =~
"ASCII C++" ]]
18 export TOTAL
=$
(bc <<< "$TOTAL + $(./ncsl -t -b src/$src_file)")
22 echo "Total number of lines of code :" $TOTAL