uni
is a command to make unique text like uniq
command.
The difference with uni
is that it does not require sorting of the input data.
uni
receives text from stdin
and unique it.
% cat text
a
c
b
c
% cat text | uni
a
c
b
Clone this repository to your computer and make a binary for your OS.
awk
can do the same. 😉
cat text | '!a[$0]++{print}'