top | item 45718109

(no title)

BuildTheRobots | 4 months ago

It's something I've done myself in the past. First sort is because it needs to be sorted for uniq -c to count it proper, second sort because uniq doesn't always give the output in the right order.

discuss

order

evertedsphere|4 months ago

more precisely, uniq produces output in the same order as the input to it, just collapsing runs / run-length encoding it