Created
March 10, 2022 12:25
-
-
Save kirschem/a8f930e91bd25c20d2cfe4716b57f52e to your computer and use it in GitHub Desktop.
Diff two files side by side using full terminal width
This file contains hidden or 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
# 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