Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Command Line Challenge. Parent comment
Also, I learned today that cat takes a -n option to prepend line numbers to the output! My solution ended up being
cat -n faces.txt | sort -k2 -k1n | uniq -f1 | sort -nk1,1 | cut -f2-
There are no comments on this comment yet.
Also, I learned today that cat takes a -n option to prepend line numbers to the output! My solution ended up being