Skip to content

Instantly share code, notes, and snippets.

@zertrin
Last active December 14, 2015 20:48
Show Gist options
  • Save zertrin/5146429 to your computer and use it in GitHub Desktop.
Save zertrin/5146429 to your computer and use it in GitHub Desktop.
Prints the content of input file deduplicating the lines based on the content of the 4th column
awk '!_[$4]++' file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment