BEGIN{ FS="\t"; if (th==0){th=1;} }{ s=0; for (i=6;i<=NF;i++){ s+=$i; } if (s>th) { print $0 } }