比较网络上的两个文件

以下使用进程替换比较两个文件 diff 而不是创建临时文件。

diff <(curl http://www.example.com/page1) <(curl http://www.example.com/page2)