Created
December 8, 2012 12:19
-
-
Save lysu/4240076 to your computer and use it in GitHub Desktop.
Compare 2ed Column and select exist in file2 but not in file1
This file contains 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 'FNR==NR {A[$2];next;} !($2 in A)' file1 file2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment