perl -e 'BEGIN {$col=1}' -lane '$sum += $F[$col]; END {print "Sum of column $col for $. line: $sum"}' file.tab