Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Sorting massive text files?.
Both can be rewritten as "sort FILE | uniq" and "time wc -l FILE".
And given the data size, both non-cat uses would likely be faster as well.
There are no comments on this comment yet.
Both can be rewritten as "sort FILE | uniq" and "time wc -l FILE".
And given the data size, both non-cat uses would likely be faster as well.