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