Created
April 18, 2018 11:34
-
-
Save pierophp/b7bf10669a66cd5fd7a1c68560cb3956 to your computer and use it in GitHub Desktop.
Extract diff from 2 files
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
# to apply trim, add: sed 's/^ *//;s/ *$//' | |
comm -23 <(sort file1) <(sort file2) > file_with_diff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment