uniq(1) | General Commands Manual | uniq(1) |
uniq - Report or omit repeated lines.
uniq [-D|--all-repeated] [--group] [-w|--check-chars] [-c|--count] [-i|--ignore-case] [-d|--repeated] [-s|--skip-chars] [-f|--skip-fields] [-u|--unique] [-z|--zero-terminated] [-h|--help] [-V|--version] [files]
Report or omit repeated lines.
[possible values: none, prepend, separate]
[possible values: separate, prepend, append, both]
Filter adjacent matching lines from INPUT (or standard input), writing to OUTPUT (or standard output).
Note: uniq does not detect repeated lines unless they are adjacent. You may want to sort the input first, or use sort -u without uniq.
v0.0.27
uniq 0.0.27 |