Last active
August 15, 2019 00:11
-
-
Save miguelmota/8af8024919566d2ba950ad5bcdeba71a to your computer and use it in GitHub Desktop.
Bash sed differences between two files matching column
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 'NR==FNR{c[$2]++;next};c[$2] == 0' file1.txt file2.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment