uniq(1) - SerenityOS man pages

Name

uniq - filter out repeated lines

Synopsis

$ uniq [--version] [INPUT] [OUTPUT]

Description

Filter out repeated lines from INPUT (or standard input) and write to OUTPUT (or standard output).

Options

Examples

# Filter out repeated lines from README.md and write to standard output
$ uniq README.md

# Filter out repeated lines from README.md and write to UNIQUE.md
$ uniq README.md UNIQUE.md