awk/testdir/tt.16

7 lines
89 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
{ for (i = 1; i <= NF; i++)
w[$i]++
}
END { for (i in w) print w[i], i | "sort -nr" }