uniq [input] [output]
Report or omit repeated line
Arguments
Name | Description |
---|
input | filepaths, folders |
output | |
Options
Name | Description |
---|
-c, --count | Prefix lines by the number of occurrences |
-d, --repeated | Only 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-case | Ignore differences in case when comparing |
-s, --skip-chars <number> | Avoid comparing the first N characters |
-u, --unique | Only print unique lines |
-z, --zero-terminated | End lines with 0 byte, not newline |
-w, --check-chars <number> | Compare no more than N characters in lines |
--help | Display this help and exit |
--version | Output version information and exit |