in reply to Re^2: perl oneliner on multiple files
in thread perl onliner on multiple files
perl -c -lne'/(\d+): /and$c+=$1;eof&&($c=!print"SUM.$ARGV =$c")' tmp_*
In Section
Seekers of Perl Wisdom
in reply to Re^2: perl oneliner on multiple files
in thread perl onliner on multiple files
perl -c -lne'/(\d+): /and$c+=$1;eof&&($c=!print"SUM.$ARGV =$c")' tmp_*