Diff - Output two commands

Diff the output of two separate commands:

diff -W160 -y <(cat test | tr '[:upper:]' '[:lower:]' | sort -h | uniq) <(cat test2 | tr '[:upper:]' '[:lower:]' | sort -h | uniq) | grep \>

Sources:

  • https://unix.stackexchange.com/questions/155806/how-do-i-diff-the-outputs-of-two-commands