Created
May 29, 2019 13:51
-
-
Save dinks/631ef777bdfa7f900a9bcc7c032e310b to your computer and use it in GitHub Desktop.
Remove duplicates from File preserving order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '!visited[$0]++' your_file > deduplicated_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment