/huniq

Filter lines present multiple times

Primary LanguageLuaMIT LicenseMIT

Filter lines present multiple times.

Usage

huniq [FILE]...

Example

huniq <<<'first
second
second
third
fourth
third
third
fourth
first'

ouput:

first
second
third
fourth

Compilation

Just run xmake.

Or g++ -std=c++17 -O3 -I include huniq.cpp -o huniq

Installation

xmake build huniq && xmake install huniq