11 lines
123 B
Plaintext
11 lines
123 B
Plaintext
|
{for(i=1; i<=NF; i++) {
|
||
|
if (x[$i] == "")
|
||
|
y[++n] = $i
|
||
|
x[$i]++
|
||
|
}
|
||
|
}
|
||
|
END {
|
||
|
for (i=0; i<n; i++)
|
||
|
print (y[i], x[y[i]])
|
||
|
}
|