If I understand the man page correctly,
should yield
.
Yes?
I just want to check my understanding before writing up a bug report, because it does do the sort for me, but does not remove the duplicates. A quick search of the bugs database didn't turn up anything, which makes me suspect the bug is in me.
sort -u
run against a list with this form:
Code:
foo
foo
bar
mumble
mumble
mumble
fratz
should yield
Code:
foo
bar
fratz
mumble
Yes?
I just want to check my understanding before writing up a bug report, because it does do the sort for me, but does not remove the duplicates. A quick search of the bugs database didn't turn up anything, which makes me suspect the bug is in me.