Skip to content

Instantly share code, notes, and snippets.

@niedzielski
Created April 29, 2018 17:54
Show Gist options
  • Save niedzielski/eada3a94fadc53e62d6c5301d83c7991 to your computer and use it in GitHub Desktop.
Save niedzielski/eada3a94fadc53e62d6c5301d83c7991 to your computer and use it in GitHub Desktop.
Diff the output of two programs.
diff <(sed -r s%1%3%g a.txt) <(sed -r s%2%3%g b.txt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment