diff output of 2 command

for example, I want to compare output of 2 different curl comand

$ diff <(curl -s http://host.com/a) <(curl -s http://anotherhost.com/a)

Last updated