2 ms·
Whow $ zcat ~/Downloads/static.log.gz | perl -lne'if (m/ 200 (\d+)/) { print $1 }'|sort |uniq -c 390 0 523 10881 639 12479 16276 1279 178111
by rurban 13y ago
Whow
$ zcat ~/Downloads/static.log.gz |
perl -lne'if (m/ 200 (\d+)/) { print $1 }'|sort |uniq -c
390 0
523 10881
639 12479
16276 1279
178111 2602
1 4071
14 4072
63 4801
112 4812
9431 5097
27654 5821
110 5911
1348 6008
162 7884
256 8278
568 9035
1103 9634
That's a lot of changes
- smsm42 13y agoYou seem to be counting all the files, not just this one file. Update: no, you're correct, this log apparently only has one file.