UNIQ(1) | General Commands Manual | UNIQ(1) |
uniq
— report or
filter out duplicated lines
uniq |
[-c |-d |-u ]
[-f field_shift]
[-s byte_shift]
[input_file
[output_file]] |
The uniq
utility reads
file1 and file2 line-by-line and
by default filters out repeating lines.
The following options are supported:
-c
-d
-f
field_shift-s
byte_shift-u
The uniq
utility exits 0 on
success, and >0 if an error occurs.
uniq
should be compliant with the IEEE Std
1003.1-2024 (“POSIX.1”) specification.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
2024-05-02 | Linux 6.6.67-gentoo-x86_64 |