Filter lines present multiple times.
huniq [FILE]...
huniq <<<'first
second
second
third
fourth
third
third
fourth
first'
ouput:
first
second
third
fourth
Just run xmake
.
Or g++ -std=c++17 -O3 -I include huniq.cpp -o huniq
xmake build huniq && xmake install huniq