> you almost invevitably want to run sort before you run uniq
And then you don't actually want uniq anyway since sort has a -u switch that removes duplicate lines.
And then you don't actually want uniq anyway since sort has a -u switch that removes duplicate lines.
But for the examples in the main article sort -u would be fine.