In my journey to better my development skills I’ve been trying to write some small Go applications. I needed a sorter like uniq but on a Windows machine for a project I was doing. So I decided to write one.
Unlike uniq the input does not need sorted beforehand. The program takes either stdin or can read from a file which is passed as the first argument.
stdin: echo "test thing test thing other" | goniq