{"id":8193,"date":"2020-07-18T21:09:07","date_gmt":"2020-07-18T13:09:07","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8193"},"modified":"2020-07-18T21:09:07","modified_gmt":"2020-07-18T13:09:07","slug":"groff","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/groff","title":{"rendered":"groff\u547d\u4ee4 – \u7f16\u5199\u624b\u518c\u9875\u9762"},"content":{"rendered":"\n
groff \u662f\u4e00\u5957\u7528GNU \u5b9e\u73b0troff \u7684\u7a0b\u5e8f\u3002\u5b83\u8fd8\u5305\u62ec\u4e00\u4e2a\u811a\u672c\uff0c\u7528\u6765\u6a21\u4effnroff \u548c\u5176\u4ed6roff \u5bb6\u65cf\u3002<\/p>\n\n\n\n
groff\u547d\u4ee4\u4ee5\u7b26\u53f7\u201c.\u201d\u5f00\u59cb\uff0c.TH \u662f\u6807\u9898\u6bcf\u4e2a\u624b\u518c\u9875\u9762\u53ea\u4f7f\u7528\u4e00\u6b21\uff0c\u5b83\u8bbe\u7f6e\u9875\u9762\u7684\u6807\u9898\u3001\u6bb5\u53f7\u4ee5\u53ca\u65e5\u671f\u3002NAME\u6bb5\u7684\u683c\u5f0f\u975e\u5e38\u91cd\u8981\uff0c\u3002\u5728.SH NAME\u7684\u540e\u9762\u662f\u547d\u4ee4\u7684\u540d\u79f0\u3002\u201c\\-\u201d\u4e5f\u5f88\u91cd\u8981\uff0c\u56e0\u4e3amakewhatis\uff0capropos\u4ee5\u53caman\uff0dk\u5728\u641c\u7d22\u624b\u518c\u9875\u9762\u65f6\u4f9d\u8d56\u8fd9\u79cd\u683c\u5f0f\u3002<\/p>\n\n\n\n
\u6bb5\u4ee5 .SH \u5f00\u59cb\uff0c\u540e\u8ddf\u6807\u9898\u3002\u5982\u679c\u6807\u9898\u5305\u542b\u7a7a\u683c\u5e76\u4e14\u548c .SH \u5728\u540c\u4e00\u884c\uff0c\u5219\u9700\u5728\u6807\u9898\u4e0a\u52a0\u53cc\u5f15\u53f7\u3002.TP\u6307\u4ee4\u521b\u5efa\u4e00\u4e2a\u5e26\u6709\u8d77\u59cb\u6807\u5fd7\u7684\u65b0\u6bb5\u843d\u3002 \u5176\u4ed6\u7684\u547d\u4ee4\u6307\u5b9a\u5b57\u4f53\u7c7b\u578b\u548c\u5927\u5c0f\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>groff [\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 \u628aman\u6587\u4ef6\u8f6c\u6362\u4e3aHTML\u6587\u6863\uff1a<\/p>\n\n\n\n \u628a\u6807\u51c6\u7684\u6587\u672c\u548c\u7279\u6b8a\u7684\u547d\u4ee4\u7ffb\u8bd1\u6210\u683c\u5f0f\u5316\u7684\u8f93\u51fa:<\/p>\n\n\n\n \u5c06 lorem-ipsum.me \u6587\u4ef6\u4fdd\u5b58\u5230\u60a8\u7684\u7cfb\u7edf\u5e76\u901a\u8fc7 groff \u8fd0\u884c:<\/p>\n\n\n\n groff \u662f\u4e00\u5957\u7528GNU \u5b9e\u73b0troff \u7684\u7a0b\u5e8f\u3002\u5b83\u8fd8\u5305\u62ec\u4e00\u4e2a\u811a\u672c\uff0c\u7528\u6765\u6a21\u4effnroff \u548c\u5176\u4ed6roff \u5bb6\u65cf […]<\/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\/8193"}],"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=8193"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8193\/revisions"}],"predecessor-version":[{"id":8378,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8193\/revisions\/8378"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}.B<\/td> \u9ed1\u4f53<\/td><\/tr> .I<\/td> \u4e0b\u5212\u7ebf\uff08\u6216\u659c\u4f53\uff09<\/td><\/tr> .RI<\/td> \u666e\u901a\u4f53\u548c\u4e0b\u5212\u7ebf\uff08\u6216\u659c\u4f53\uff09\u4ea4\u66ff<\/td><\/tr> .SM<\/td> \u5c0f\u53f7\u5b57\uff08\u7528\u4e8e\u7f29\u5199\uff09<\/td><\/tr> .HP<\/td> \u5f00\u59cb\u60ac\u6302\u5f0f\u7f29\u8fdb<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# groff \uff0dThtml -mandoc test.1 > test.html<\/pre>\n\n\n\n
[root@linuxcool ~]# groff \uff0dtest1 \uff0dman test2.1<\/pre>\n\n\n\n
[root@linuxcool ~]# groff -Tps -me lorem-ipsum.me > lorem-ipsum.me.ps<\/pre>\n","protected":false},"excerpt":{"rendered":"