{"id":5873,"date":"2019-12-23T14:44:38","date_gmt":"2019-12-23T06:44:38","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5873"},"modified":"2020-05-05T15:24:49","modified_gmt":"2020-05-05T07:24:49","slug":"bzdiff","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/bzdiff","title":{"rendered":"bzdiff\u547d\u4ee4 – \u6bd4\u8f83\u4e24\u4e2a.bz2\u538b\u7f29\u5305\u4e2d\u6587\u4ef6\u7684\u4e0d\u540c"},"content":{"rendered":"\n

bzdiff\u547d\u4ee4\u7528\u4e8e\u76f4\u63a5\u6bd4\u8f83\u4e24\u4e2a\u201c.bz2\u201d\u538b\u7f29\u5305\u4e2d\u6587\u4ef6\u7684\u4e0d\u540c\uff0c\u7701\u53bb\u4e86\u89e3\u538b\u7f29\u540e\u518d\u8c03\u7528diff\u547d\u4ee4\u7684\u8fc7\u7a0b\u3002<\/p>\n\n\n\n

bzdiff\u547d\u4ee4\u672c\u8eab\u6ca1\u6709\u4efb\u4f55\u7684\u53c2\u6570\u9009\u9879\uff0c\u4f46\u662f\u53ef\u4ee5\u4f7f\u7528diff\u547d\u4ee4\u7684\u76f8\u5173\u53c2\u6570\uff0c\u6240\u6709\u7684\u53c2\u6570\u5c06\u76f4\u63a5\u4f20\u9012\u7ed9diff\u547d\u4ee4\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f:\u00a0<\/strong> bzdiff [\u53c2\u6570] [\u6587\u4ef61] [\u6587\u4ef62]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-<\u884c\u6570><\/td>\u6307\u5b9a\u8981\u663e\u793a\u591a\u5c11\u884c\u7684\u6587\u672c\u3002\u6b64\u53c2\u6570\u5fc5\u987b\u4e0e-c\u6216-u\u53c2\u6570\u4e00\u5e76\u4f7f\u7528<\/td><\/tr>
-a<\/td>diff\u9884\u8bbe\u53ea\u4f1a\u9010\u884c\u6bd4\u8f83\u6587\u672c\u6587\u4ef6<\/td><\/tr>
-b<\/td>\u4e0d\u68c0\u67e5\u7a7a\u683c\u5b57\u7b26\u7684\u4e0d\u540c<\/td><\/tr>
-c<\/td>\u663e\u793a\u5168\u90e8\u5185\u5bb9\uff0c\u5e76\u6807\u51fa\u4e0d\u540c\u4e4b\u5904<\/td><\/tr>
-W<\/td>\u6307\u5b9a\u8f93\u51fa\u7684\u5217\u5bbd\uff0c\u9ed8\u8ba4130<\/td><\/tr>
-x<\/td>\u4e0d\u6bd4\u8f83\u9009\u9879\u4e2d\u6240\u6307\u5b9a\u7684\u6587\u4ef6\u6216\u76ee\u5f55<\/td><\/tr>
-X<\/td>\u60a8\u53ef\u4ee5\u5c06\u6587\u4ef6\u6216\u76ee\u5f55\u7c7b\u578b\u5b58\u6210\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u5728=<\u6587\u4ef6>\u4e2d\u6307\u5b9a\u6b64\u6587\u672c\u6587\u4ef6<\/td><\/tr>
-y<\/td>\u4ee5\u5e76\u5217\u7684\u65b9\u5f0f\u663e\u793a\u6587\u4ef6\u7684\u5f02\u540c\u4e4b\u5904<\/td><\/tr>
--help<\/td>\u67e5\u770b\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr>
--left-column<\/td>\u5728\u4f7f\u7528-y\u53c2\u6570\u65f6\uff0c\u82e5\u4e24\u4e2a\u6587\u4ef6\u67d0\u4e00\u884c\u5185\u5bb9\u76f8\u540c\uff0c\u5219\u4ec5\u5728\u5de6\u4fa7\u7684\u680f\u4f4d\u663e\u793a\u8be5\u884c\u5185\u5bb9<\/td><\/tr>
--suppress-common-lines<\/td>\u5728\u4f7f\u7528-y\u53c2\u6570\u65f6\uff0c\u4ec5\u663e\u793a\u4e0d\u540c\u4e4b\u5904<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u6bd4\u8f83\u4e24\u4e2a.bz2\u538b\u7f29\u5305\u4e2d\u6587\u4ef6\u7684\u4e0d\u540c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bzdiff linuxcool.bz2 linuxprobe.bz2<\/pre>\n\n\n\n

\u663e\u793a\u5168\u90e8\u5185\u5bb9\uff0c\u5e76\u6807\u51fa\u4e0d\u540c\u4e4b\u5904\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bzdiff -c linuxcool.bz2 linuxprobe.bz2<\/pre>\n\n\n\n

\u4ee5\u5e76\u5217\u7684\u65b9\u5f0f\u663e\u793a\u5f02\u540c\u4e4b\u5904\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bzdiff -y linuxcool.bz2 linuxprobe.bz2<\/pre>\n","protected":false},"excerpt":{"rendered":"

bzdiff\u547d\u4ee4\u7528\u4e8e\u76f4\u63a5\u6bd4\u8f83\u4e24\u4e2a\u201c.bz2\u201d\u538b\u7f29\u5305\u4e2d\u6587\u4ef6\u7684\u4e0d\u540c\uff0c\u7701\u53bb\u4e86\u89e3\u538b\u7f29\u540e\u518d\u8c03\u7528diff\u547d\u4ee4\u7684\u8fc7\u7a0b\u3002 bz […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5873"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5873"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5873\/revisions"}],"predecessor-version":[{"id":7485,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5873\/revisions\/7485"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}