in reply to Re: perl oneliner on multiple files
in thread perl onliner on multiple files
perl -lne'/(\d+): /and$c+=$1; eof&&print"SUM.$ARGV =$c"; if(eof) {$c=0 +}' tmp_1*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl oneliner on multiple files
by jwkrahn (Abbot) on Feb 09, 2013 at 19:52 UTC |