Skip to content
/ uni Public

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

License

Notifications You must be signed in to change notification settings

mitsutoshi/uni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}'

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages