Untested:
perl -F\t -anle"($t)=$F[0]=~/^(.{5})/;$t=~s/(.)$/$1<5?0:5/e; $t{$t}=$F
+[1] if $F[1]>$t{$t} }{ print qq[$_\t$t{$_}] for sort keys %t" file.cs
+v
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".