Skip to content

Instantly share code, notes, and snippets.

@mitfik
Created September 24, 2012 12:50
Show Gist options
  • Save mitfik/3775800 to your computer and use it in GitHub Desktop.
Save mitfik/3775800 to your computer and use it in GitHub Desktop.
Cross checking for two files
# linux is awsome
# first.csv
# A
# B
# C
# D
# second.csv
# B
# D
# result.csv
# B
# D
> grep -Fxv -f file1 file2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment