I have date like the following.
random check/1 -0.02
random check/1 -0.05
random tell/1 -0.01
random tell/2 -0.02
random checking -0.00
I tried sorting for 2nd column and then 3rd column.
I used sort -n -k2,2 -k3,3 file. but it didn't gave the output I am looking for.
output should be:
random check/1 -0.05
random check/1 -0.02
random checking -0.00
random tell/1 -0.01
random tell/2 -0.02
and then I want to uniquify it. so the final output should be link
random check/1 -0.05
random checking -0.00
random tell/1 -0.01
random tell/2 -0.02
basically, its sorting 2nd column and then 3rd column, and uniq 2nd column, so I see only worst numbers.