We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
delete all repeated lines in a file, unless it is a newline:
awk 'NF == 0 || !seen[$0]++' input_file > output_file