{"id":5496,"date":"2019-11-25T19:28:57","date_gmt":"2019-11-25T11:28:57","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5496"},"modified":"2019-11-25T19:28:57","modified_gmt":"2019-11-25T11:28:57","slug":"unexpand","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/unexpand","title":{"rendered":"unexpand\u547d\u4ee4 – \u7a7a\u767d\u5b57\u7b26\u8f6c\u6362"},"content":{"rendered":"\n

unexpand\u547d\u4ee4\u7528\u4e8e\u5c06\u7ed9\u5b9a\u6587\u4ef6\u4e2d\u7684\u7a7a\u767d\u5b57\u7b26\uff08space\uff09\u8f6c\u6362\u4e3a\u5236\u8868\u7b26\uff08TAB\uff09\uff0c\u5e76\u628a\u8f6c\u6362\u7ed3\u679c\u663e\u793a\u5728\u6807\u51c6\u8f93\u51fa\u8bbe\u5907\uff08\u663e\u793a\u7ec8\u7aef\uff09\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>unexpand [\u53c2\u6570]<\/p>\n\n\n\n

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

-a<\/td>\u8f6c\u6362\u6587\u4ef6\u4e2d\u6240\u6709\u7684\u7a7a\u767d\u5b57\u7b26 <\/td><\/tr>
-first-only <\/td>\u4ec5\u8f6c\u6362\u5f00\u5934\u7684\u7a7a\u767d\u5b57\u7b26 <\/td><\/tr>
-t<N> <\/td>\u6307\u5b9aTAB\u6240\u4ee3\u8868\u7684N\u4e2a\uff08N\u4e3a\u6574\u6570\uff09\u5b57\u7b26\u6570\uff0c\u9ed8\u8ba4N\u503c\u662f8 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u8f6c\u6362test.txt\u6587\u4ef6\u4e2d\u6240\u6709\u7684\u7a7a\u767d\u5b57\u7b26 :<\/p>\n\n\n\n

[root@linuxcool ~]# unexpand -a text.txt<\/pre>\n","protected":false},"excerpt":{"rendered":"

unexpand\u547d\u4ee4\u7528\u4e8e\u5c06\u7ed9\u5b9a\u6587\u4ef6\u4e2d\u7684\u7a7a\u767d\u5b57\u7b26\uff08space\uff09\u8f6c\u6362\u4e3a\u5236\u8868\u7b26\uff08TAB\uff09\uff0c\u5e76\u628a\u8f6c\u6362\u7ed3\u679c\u663e\u793a\u5728\u6807\u51c6\u8f93\u51fa […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5496"}],"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=5496"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5496\/revisions"}],"predecessor-version":[{"id":5574,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5496\/revisions\/5574"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}