my question is pretty much like this one but with one difference; i want the output the line that has highest score on the 3rd tab. my data is like:
1.gui Qxx 16
2.gui Qxy 23
3.guT QWS 11
and i want to get this:
1.gui Qxy 23
3.guT QWS 11
I used:
cat file.f | uniq | cut -d" " -f3 | sort | uniq -d >>out.f
but did not get what i want!?
1.gui...
in the output be2.gui...
? – Taphouse3.guT
to2.guT
in the output. It is confusing otherwise. – Taphouse