有没有安全的方式来运行差异在两个zip压缩文件? [英] Is there a safe way to run a diff on two zip compressed files?
本文介绍了有没有安全的方式来运行差异在两个zip压缩文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
如果你不是一个确定性的东西,请使用gzip,您可以这样做:
#diff<(zcat file1.gz)< .gz)
Seems this would not be a deterministic thing, or is there a way to do this reliably?
解决方案
If you're using gzip, you can do something like this:
# diff <(zcat file1.gz) <(zcat file2.gz)
这篇关于有没有安全的方式来运行差异在两个zip压缩文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文