Created
August 27, 2018 08:48
-
-
Save ChristopherA/79f0f1d529c17a7d20ced37736d3a466 to your computer and use it in GitHub Desktop.
Delete duplicate lines
This file contains hidden or 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 '! seen[$0]++' | |
| # Efficiently prints lines from a file without duplicates, without sorting (unlike `sort -u`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment