If you want/need to use Perl, and the data in your matrix has fixed length lines... you can unpack itawk '{ sum+=$2} END {print sum}' < matrix.txt
In reply to Re: Columnwise parsing of a file
by mhearse
in thread Columnwise parsing of a file
by ghosh123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |