/uni

uni is a command to make unique text like uniq command.

Primary LanguageRustMIT LicenseMIT

uni

License: MIT

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.

How to use

uni receives text from stdin and unique it.

% cat text
a
c
b
c

% cat text | uni
a
c
b

How to install

Clone this repository to your computer and make a binary for your OS.

Note

awk can do the same. 😉

cat text | '!a[$0]++{print}'