- Line by line
- No colors
- Able to be piped into vim (shown later on)
diff <(curl -vs https://reddit.com 2>&1) <(curl -vs https://reddit.com 2>&1)
- Side by side
- No colors
- Not able to be piped into vim
diff -y -W $COLUMNS <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1)
- Requires
colordiff
yum install colordiff
apt-get install colordiff
brew install colordiff
- Colored (buggy)
- Line by line or Side by side
colordiff -y -W $COLUMNS <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1)
- Line by line
- Colored
- Editable
diff <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1) | vim -R -
- Side by side diff
- Colored
- Editable
vim -d <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1)
- Requires Diffr
npm install diffr -g
- Line by line diff & Side by side diff
-c option
- Colored
diffr <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1)
Try -yW"`tput cols`"