perl -c -lne'/(\d+): /and$c+=$1;eof&&($c=!print"SUM.$ARGV =$c")' tmp_* [download]
In reply to Re^3: perl oneliner on multiple files by jwkrahn in thread perl onliner on multiple files by abhay180