According to 'info uniq':
‘-u’
‘--unique’
     Discard the last line that would be output for a repeated input
     group.  When used by itself, this option causes ‘uniq’ to print
     unique lines, and nothing else.

'sort | uniq' does the same as 'sort -u' but is slower (and longer to type).

Reply via email to