Like uniq, but for logs.


go install[email protected]

Or download from the releases page.


cat my_log_file.txt | uno
uno my_log_file.txt

uno behaves like uniq and writes unique lines to the standard output. Unlike uniq, uno uses fuzzy matching to determine if two lines are similar or not.


To see all options, useuno -h


The distance option -d can be used to specify how different a new line must be from the others we’ve seen to be deemed new/unique. It can take a value between 0 and 1. The default is 0.3 (30% difference)


To see all input lines and highlight the new ones in red, use -all

cat my_log_file.txt | uno -all
uno -all my_log_file.txt


View Github