perl -lae "$r{$F[0]}+=$F[1]}{print qq($_\t$r{$_})for sort{$r{$b}<=>$r{$a}||$a cmp $b}keys %r" big1.txt big2.txt big3.txt >oneliner.tmp