GNU awk is a programming language that is designed for processing text-based data, either in files or data streams, and was created in the 1970s at Bell Labs.
To remove duplicate entries without sorting them, enter:
gawk '!x[$0]++' filename
GNU awk is a programming language that is designed for processing text-based data, either in files or data streams, and was created in the 1970s at Bell Labs.
To remove duplicate entries without sorting them, enter:
gawk '!x[$0]++' filename