{"id":8465,"date":"2020-07-28T21:46:01","date_gmt":"2020-07-28T13:46:01","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8465"},"modified":"2020-07-28T21:46:16","modified_gmt":"2020-07-28T13:46:16","slug":"catman","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/catman","title":{"rendered":"catman\u547d\u4ee4 – \u521b\u5efa\u53c2\u8003\u624b\u518c\u7684\u683c\u5f0f\u5316\u6587\u4ef6"},"content":{"rendered":"\n
catman\u5b9e\u7528\u7a0b\u5e8f\u57fa\u4e8e\u8f93\u5165\u6587\u4ef6\u521b\u5efa\u5728\u7ebf\u624b\u518c\u7684\u9884\u683c\u5f0f\u5316\u7248\u672c\u3002\u901a\u8fc7\u6b64\u529f\u80fd\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u4e00\u7ec4\u5173\u8054\u7684\u8ba1\u7b97\u673a\u4e4b\u95f4\u5206\u53d1\u9884\u683c\u5f0f\u5316\u624b\u518c\u9875\uff0c\u56e0\u4e3a\u6b64\u529f\u80fd\u4f7f\u9884\u683c\u5f0f\u5316\u624b\u518c\u9875\u7684\u76ee\u5f55\u6210\u4e3a\u81ea\u5305\u542b\u76ee\u5f55\uff0c\u72ec\u7acb\u4e8e\u672a\u683c\u5f0f\u5316\u7684\u6761\u76ee\u3002<\/p>\n\n\n\n
\u7cfb\u7edf\u4f1a\u68c0\u67e5\u6bcf\u4e2a\u624b\u518c\u9875\uff0c\u5e76\u5bf9\u9884\u683c\u5f0f\u5316\u7248\u672c\u7f3a\u5931\u6216\u8fc7\u671f\u7684\u624b\u518c\u9875\u8fdb\u884c\u91cd\u65b0\u521b\u5efa\u3002\u5982\u679c\u8fdb\u884c\u4e86\u4efb\u4f55\u66f4\u6539\uff0c\u5219 catman \u5c06\u91cd\u65b0\u521b\u5efa\u7d22\u5f15\u6587\u4ef6\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>catman [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5982\u679c\u6709\u4e00\u4e2a\u4e0d\u4ee5\u201c\u2212\u201d \u5f00\u5934\u7684\u53c2\u6570\uff0c\u5219\u5c06\u5176\u4f5c\u4e3a\u8981\u7531catman\u5904\u7406\u7684\u624b\u518c\u8282\u7684\u7a7a\u683c\u5206\u9694\u5217\u8868\u3002\u5982\u679c\u6307\u5b9a\u4e86\u6b64\u64cd\u4f5c\u6570\uff0c\u5219\u4ec5\u5904\u7406\u5217\u8868\u4e2d\u7684\u624b\u518c\u8282\uff1a<\/p>\n\n\n\n \u4e0d\u521b\u5efa\uff08\u6216\u91cd\u65b0\u521b\u5efa\uff09\u7d22\u5f15\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u663e\u793a\u5c06\u6267\u884c\u7684\u64cd\u4f5c\uff1a<\/p>\n\n\n\n catman\u5b9e\u7528\u7a0b\u5e8f\u57fa\u4e8e\u8f93\u5165\u6587\u4ef6\u521b\u5efa\u5728\u7ebf\u624b\u518c\u7684\u9884\u683c\u5f0f\u5316\u7248\u672c\u3002\u901a\u8fc7\u6b64\u529f\u80fd\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u4e00\u7ec4\u5173\u8054\u7684\u8ba1\u7b97\u673a\u4e4b\u95f4\u5206\u53d1\u9884 […]<\/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\/8465"}],"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=8465"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8465\/revisions"}],"predecessor-version":[{"id":8469,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8465\/revisions\/8469"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u2013c<\/td> \u57fa\u4e8e SGML \u6e90\u5728\u76f8\u5e94\u00a0man\u5b50\u76ee\u5f55\u4e2d\u521b\u5efa\u672a\u683c\u5f0f\u5316\u7684 nroff \u6e90\u6587\u4ef6<\/td><\/tr> \u2013n<\/td> \u4e0d\u521b\u5efa\uff08\u6216\u91cd\u65b0\u521b\u5efa\uff09\u7d22\u5f15\u6587\u4ef6<\/td><\/tr> \u2013p<\/td> \u6a21\u62df\u8fd0\u884c\u9009\u9879\uff0c\u5373\u663e\u793a\u5c06\u6267\u884c\u7684\u64cd\u4f5c\uff0c\u800c\u4e0d\u5b9e\u9645\u6267\u884c<\/td><\/tr> \u2013t<\/td> \u5728\u76f8\u5e94fmt\u5b50\u76ee\u5f55\u4e2d\u521b\u5efa\u7ecf\u8fc7troff\u5904\u7406\u7684\u6761\u76ee\uff0c\u800c\u4e0d\u662f\u901a\u8fc7\u00a0nroff\u7f6e\u5165cat\u5b50\u76ee\u5f55<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# catman 1 2 3<\/pre>\n\n\n\n
[root@linuxcool ~]# catman -n<\/pre>\n\n\n\n
[root@linuxcool ~]# catman -p<\/pre>\n","protected":false},"excerpt":{"rendered":"