2 ms·
>>Writing a script in python/ruby/perl/whatever would probably take a few minutes and then even more time for the script to actually complete. Thankfully you c
by kamaal 13y ago
>>Writing a script in python/ruby/perl/whatever would probably take a few minutes and then even more time for the script to actually complete.
Thankfully you can also write a Perl one liner. Which most of the times is far powerful than awk.
- dpatru 13y agosum the 0th field: perl -lane '$a += $F[0]; END{ print $a; }'