uniq

version: 0.0.9
uniq [OPTIONS] [--] [files]...

Report or omit repeated lines.

Options

--help, -h

Print help information

--version, -V

Print version information

--all-repeated=<delimit-method>, -D <delimit-method>

print all duplicate lines. Delimiting is done with blank lines. [default: none]

--group=<group-method>

show all items, separating groups with an empty line. [default: separate]

--check-chars=<N>, -w <N>

compare no more than N characters in lines

--count, -c

prefix lines by the number of occurrences

--ignore-case, -i

ignore differences in case when comparing

--repeated, -d

only print duplicate lines

--skip-chars=<N>, -s <N>

avoid comparing the first N characters

--skip-fields=<N>, -f <N>

avoid comparing the first N fields

--unique, -u

only print unique lines

--zero-terminated, -z

end lines with 0 byte, not newline