i\'m new to this site and trying to learn awk. i\'m trying to find the maximum value of field3, grouping by field1 and print all the fields with maximum value. Field 2 contains
With a little help of the sort command:
sort
sort -t, -k1,1 -k3,3nr file | awk -F, '!seen[$1]++'