I must admit, it took me a few readings of your description to grasp
what you mean.

I think this bug should be resubmit against the documentation for uniq.
It's _not_ very clear, since the -u option behaves almost, but not
completely, like it one could expect.

For other readers, the following example demonstrates the way the -u
switch works:

foo, bar -> foo, bar

foo, foo, foo, bar -> bar

foo, foo, foo, bar, foo -> bar, foo

-- 
uniq -u drops wrong lines
https://bugs.launchpad.net/bugs/299897
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to