uniq [command] [command]
Report or omit repeated line
Arguments
Name | Description |
---|
command | filepaths, folders |
command | |
Options
Name | Description |
---|
-c,--count | Prefix lines by the number of occurrences |
-d,--repeated | Only print duplicate lines |
-D,--all-repeated [command] | Print all duplicate lines. Delimiting is done with blank lines |
-f,--skip-fields <command> | Avoid comparing the first N fields |
-i,--ignore-case | Ignore differences in case when comparing |
-s,--skip-chars <command> | 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 <command> | Compare no more than N characters in lines |
--help | Display this help and exit |
--version | Output version information and exit |