1*9a7741deSElliott Hughes 2*9a7741deSElliott Hughes{ for (i = 1; i <= NF; i++) 3*9a7741deSElliott Hughes w[$i]++ 4*9a7741deSElliott Hughes} 5*9a7741deSElliott Hughes 6*9a7741deSElliott HughesEND { for (i in w) print w[i], i | "sort -nr" } 7