I have a huge file (50k lines) with the following format:
52370581 2116 17996781 4314 47818829 2584 61421045 2158 ... 25145813 2274
The first value can be present multiple times and I want to compute the average of the 2nd value for each 1st value, using the terminal. Ideally, I'd want the median, the min and max too. I can to it on all the values quite easily with
awk but I was wondering how to get that done for each value.