uniq [input] [output]

Report or omit repeated line

Arguments

NameDescription
inputfilepaths, folders
output

Options

NameDescription
-c, --countPrefix lines by the number of occurrences
-d, --repeatedOnly print duplicate lines
-D, --all-repeated [delimit-method]Print all duplicate lines. Delimiting is done with blank lines
-f, --skip-fields <number>Avoid comparing the first N fields
-i, --ignore-caseIgnore differences in case when comparing
-s, --skip-chars <number>Avoid comparing the first N characters
-u, --uniqueOnly print unique lines
-z, --zero-terminatedEnd lines with 0 byte, not newline
-w, --check-chars <number>Compare no more than N characters in lines
--helpDisplay this help and exit
--versionOutput version information and exit