Y
Hacker News
new
|
ask
|
show
|
jobs
by
j0057
2246 days ago
Without knowing the format of logfile, that still seems obviously correct to me.
1 comments
j_z_reeves
2245 days ago
I was surprised by the counts[$1] = counts[$1] + 1, since I didn't think it would correctly coerce a non-existing value to a 0.
link