3 ms·
Ah yes, it doesn't require the escapes that I pasted above. awk '{a[$1"_p"$2]++;}END{ for(it in a){print it,a[it]}}'
by heresie-dabord 4y ago
Ah yes, it doesn't require the escapes that I pasted above.
awk '{a[$1"_p"$2]++;}END{ for(it in a){print it,a[it]}}'