Skip to content

Instantly share code, notes, and snippets.

@niedzielski
Created April 29, 2018 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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