Skip to content

Instantly share code, notes, and snippets.

@nmische
Created March 19, 2014 17:32
Show Gist options
  • Save nmische/9646977 to your computer and use it in GitHub Desktop.
Save nmische/9646977 to your computer and use it in GitHub Desktop.
One liner to remove items in dupes.txt from full.txt
comm -23i <(cat full.txt | sort | uniq -i) <(cat dupes.txt | sort | uniq -i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment