Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何内联 zcat 2 .gz 文件以在 unix 中执行差异?已尝试 eval 但语法不正确。
zcat file1.gz zcat file2.gz
您可以使用流程替换:
diff <(zcat file1.gz) <(zcat file2.gz)