greycat 1181074333 learn awk '!seen[$0]++' # Remove second and subsequent instances of each input line, without having to sort them first.