[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 06 Nov 2006 02:52:34 +0800
Info 7.2 `uniq': Uniquify files:
By default, `uniq' prints its input lines, except that it discards
all but the first of adjacent repeated lines, so that no output lines
are repeated. Optionally, it can instead discard lines that are not
repeated, or all repeated lines.
^^^^^^^^^^^^^^^^^^^^^^But that is what it does in the first place.
Do not discard the second and subsequent repeated input lines, but
discard lines that are not repeated.
Mention what if you want even the first of the repeated lines!
only print duplicate lines
only print (the first of each group of) duplicate lines
Even if it is said on the Info page.
|[Prev in Thread]
||[Next in Thread]|
- uniq(1) documentation,
Dan Jacobson <=