bug#61248: uniq --unique needs examples

2023-02-10 Thread Dan Jacobson
BV> While an example is always nice, isn't the last part of the above BV> exactly telling what it's doing? That is for experts to know. The rest of us need examples, sort of like your idea, (please modify): $ echo a a a b c c b b d b | xargs --max-args=1 | uniq --unique b d b

bug#61248: uniq --unique needs examples

2023-02-10 Thread Bernhard Voelker
On 2/3/23 08:12, Dan Jacobson wrote: uniq INFO page says: ‘-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. This really needs some examples, to help peo

bug#61248: uniq --unique needs examples

2023-02-02 Thread Dan Jacobson
uniq INFO page says: ‘-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. This really needs some examples, to help people understand what it means.