uniq

E299160

uniq is a GNU Core Utilities command-line tool that filters or reports repeated lines in sorted text input.

All labels observed (1)

Label Occurrences
uniq canonical 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf GNU Core Utilities program ⓘ
Unix command ⓘ
command-line tool ⓘ
commandOption --check-chars ⓘ
--count ⓘ
--ignore-case ⓘ
--repeated ⓘ
--skip-chars ⓘ
--skip-fields ⓘ
--unique ⓘ
--zero-terminated ⓘ
-c ⓘ
-d ⓘ
-f ⓘ
-i ⓘ
-s ⓘ
-u ⓘ
-w ⓘ
commonPipelineUse often used in combination with sort ⓘ
developer Free Software Foundation ⓘ
examplePipeline sort file | uniq ⓘ
implementationLanguage C ⓘ
inputFormat reads from standard input by default ⓘ
inputRequirement typically requires adjacent duplicate lines to be grouped ⓘ
introducedIn early Unix versions ⓘ
license GNU General Public License ⓘ
maintainedBy GNU Coreutils maintainers ⓘ
operatingSystem Linux ⓘ
Unix ⓘ
Unix-like systems ⓘ
macOS ⓘ
outputFormat writes to standard output by default ⓘ
partOf GNU Core Utilities ⓘ
surface form: GNU Coreutils
platformAvailability commonly available on POSIX-compliant systems ⓘ
primaryFunction filter repeated lines in text ⓘ
report repeated lines in text ⓘ
relatedCommand awk ⓘ
comm ⓘ
sed ⓘ
sort ⓘ
standardInputSupport yes ⓘ
textProcessingCategory filter ⓘ
typicalUsage used on sorted text input ⓘ
useCase count occurrences of identical lines ⓘ
find lines that occur exactly once ⓘ
find lines that occur more than once ⓘ
remove duplicate lines from a file ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.