Skip to content

Instantly share code, notes, and snippets.

@kirschem
Created March 10, 2022 12:25
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 kirschem/a8f930e91bd25c20d2cfe4716b57f52e to your computer and use it in GitHub Desktop.
Save kirschem/a8f930e91bd25c20d2cfe4716b57f52e to your computer and use it in GitHub Desktop.
Diff two files side by side using full terminal width
# Taken from https://stackoverflow.com/questions/17195308/unix-diff-side-to-side-results#comment104364677_49630142
diff -W $COLUMNS --suppress-common-lines -y file1 file2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment