Skip to content

Instantly share code, notes, and snippets.

@arelra
Created April 15, 2015 22:09
Show Gist options
  • Save arelra/d90f715e1e8ffe6a3049 to your computer and use it in GitHub Desktop.
Save arelra/d90f715e1e8ffe6a3049 to your computer and use it in GitHub Desktop.
Diff output diffs only
diff file1 file2 | awk '{if ( $2 != "") print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment