via: https://wangchujiang.com/linux-command/c/diff.html -y 横向? 逐行对比两个文件 -r 递归比对目录 References How do I diff the output of two commands? - Ask Ubuntu unix - How to colorize diff on the command line - Stack Overflow