system enabled verified low v1.0.0

uniq

Report or omit repeated lines

📋 Live Preview
uniq -c {count} -d {repeated} -D {flag-d} -f {skip-fields} -i {ignore-case}
๐Ÿ“Ž count ๐Ÿ“Ž repeated ๐Ÿ“Ž flag-d ๐Ÿ“Ž skip-fields ๐Ÿ“Ž ignore-case
uniq -c {count} -d {repeated} -D {flag-d} -f {skip-fields} -i {ignore-case}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.uniq
system.file.search
system.file.process
system.file.copy
system.file.move
system.file.delete

Parameters

Name Type Required Default Description Aliases
count integer No - prefix lines by the number of occurrences -c, --count
repeated string No - only print duplicate lines, one for each group -d, --repeated
flag-D string No - print all duplicate lines --all-repeated[=METHOD] like -D, but allow separating groups with an empty line; METHOD={none(default),prepend,separate} -D
skip-fields integer No - avoid comparing the first N fields --group[=METHOD] show all items, separating groups with an empty line; METHOD={separate(default),prepend,append,both} -f, --skip-fields
ignore-case string No - ignore differences in case when comparing -i, --ignore-case
skip-chars integer No - avoid comparing the first N characters -s, --skip-chars
unique string No - only print unique lines -u, --unique
zero-terminated string No - line delimiter is NUL, not newline -z, --zero-terminated
check-chars integer No - compare no more than N characters in lines --help display this help and exit --version output version information and exit -w, --check-chars
all_repeated boolean No - --all-repeated
group boolean No - --group
help boolean No - --help
version boolean No - --version

Examples

Display help message

uniq --help

Documentation

uniq โ€” Report or omit repeated lines

Overview

uniq is a command-line utility for report or omit repeated lines.

Usage

uniq -c {count} -d {repeated} -D {flag-d} -f {skip-fields} -i {ignore-case}

Related Tools

system-file-catsystem-file-commsystem-file-sortsystem-file-wc