I have a file like below which I have sorted based on the username field.
1234 200 suresh
5678 150 murali
8543 200 sanjith
5678 100 suresh
1456 400 murali
I am trying to remove the rows which have the lowest score for the same usernames. So I want to have the output using Shell Script.
1234 200 suresh
5678 400 murali
8543 200 sanjith
5678 400 muraliin your output. Shouldn't it be1456 400 murali?