Skip to content

Instantly share code, notes, and snippets.

@jtdp
Created March 6, 2014 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtdp/9389912 to your computer and use it in GitHub Desktop.
Save jtdp/9389912 to your computer and use it in GitHub Desktop.
Get all lines in file1 that do not appear in file2
grep -F -x -v -f file1 file2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment