in reply to perl onliner on multiple files
% perl -lne'/(\d+): /and$c+=$1;eof&&print"SUM.$ARGV =$c"' tmp_*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl oneliner on multiple files
by abhay180 (Sexton) on Feb 09, 2013 at 10:18 UTC | |
by jwkrahn (Abbot) on Feb 09, 2013 at 19:52 UTC |