{"id":341205,"date":"2021-02-16T19:35:47","date_gmt":"2021-02-16T11:35:47","guid":{"rendered":"http:\/\/4563.org\/?p=341205"},"modified":"2021-02-16T19:35:47","modified_gmt":"2021-02-16T11:35:47","slug":"%e9%98%85%e8%af%bb-man-%e6%89%8b%e5%86%8c%e9%81%87%e5%88%b0%e7%9a%84%e9%97%ae%e9%a2%98%ef%bc%8c%e7%b2%97%e4%bd%93%e5%ad%97%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=341205","title":{"rendered":"\u9605\u8bfb man \u624b\u518c\u9047\u5230\u7684\u95ee\u9898\uff0c\u7c97\u4f53\u5b57\u5982\u4f55\u4f7f\u7528\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u9605\u8bfb man \u624b\u518c\u9047\u5230\u7684\u95ee\u9898\uff0c\u7c97\u4f53\u5b57\u5982\u4f55\u4f7f\u7528\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lolcat <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>linux \u7528\u4e86\u8fd9\u4e48\u591a\u5e74\uff0c\u6211\u53d1\u73b0\u6211 man \u624b\u518c\u8fd8\u4e0d\u4f1a\u7528\u3002<\/p>\n<p>\u6211\u60f3\u67e5\u8be2 find \u547d\u4ee4\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u7c7b\u578b-regextype \u9009\u9879\u7684\u53c2\u6570\u6709\u54ea\u4e9b\uff0cman \u624b\u518c\u4ecb\u7ecd\u5982\u4e0b\uff1a<\/p>\n<blockquote>\n<p>-regextype type<\/p>\n<\/blockquote>\n<blockquote>\n<p>Changes the regular expression syntax understood by -regex and -iregex tests which occur later on the command line. To see which regular expression types are known, use <strong>-regextype help<\/strong>. The Texinfo documentation (see SEE ALSO) explains the meaning of and differences between the various types of regular expression.<\/p>\n<\/blockquote>\n<p>\u5176\u4e2d-regextype help \u662f\u7c97\u4f53\u7684\uff0c\u6240\u4ee5\u6211\u4ee5\u4e3a\u662f\u544a\u8bc9\u6211\u4f7f\u7528<\/p>\n<p><code>find -regextype help<\/code><\/p>\n<p>\u547d\u4ee4\uff0c\u5c31\u80fd\u770b\u5230\u5df2\u77e5\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u7c7b\u578b\uff0c\u4f46\u662f\u6211\u6572\u8fd9\u4e2a\u547d\u4ee4\u540e\uff0c\u7ec8\u7aef\u5374\u63d0\u793a\u6211\uff1a<\/p>\n<blockquote>\n<p>find -regextype help<\/p>\n<\/blockquote>\n<blockquote>\n<p>find: Unknown regular expression type \u2018help\u2019; valid types are \u2018findutils-default\u2019, \u2018awk\u2019, \u2018egrep\u2019, \u2018ed\u2019, \u2018emacs\u2019, \u2018gnu-awk\u2019, \u2018grep\u2019, \u2018posix-awk\u2019, \u2018posix-basic\u2019, \u2018posix-egrep\u2019, \u2018posix-extended\u2019, \u2018posix-minimal-basic\u2019, \u2018sed\u2019.<\/p>\n<\/blockquote>\n<p>help \u662f\u672a\u77e5\u7684\u53c2\u6570\uff0c\u8bf4\u660e\u8fd9\u4e2a\u7528\u6cd5\u662f\u9519\u8bef\u7684\uff0c\u867d\u7136\u540e\u9762\u7684\u63d0\u793a\u544a\u8bc9\u4e86\u6211\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u53c2\u6570\uff0c\u4f46 man \u624b\u518c\u7684\u539f\u610f\u80af\u5b9a\u662f\u901a\u8fc7 help \u6765\u83b7\u53d6\u8be6\u7ec6\u6b63\u5219\u8868\u8fbe\u5f0f\u7c7b\u578b\u53ca\u5176\u4ecb\u7ecd\u7684\u3002<\/p>\n<p>\u8bf7\u95ee\u5982\u679c\u6211\u60f3\u4e86\u89e3-regextype \u540e\u9762\u7684\u53c2\u6570\u6709\u54ea\u4e9b\uff0c\u53ca\u90a3\u4e9b\u53c2\u6570\u7684\u542b\u4e49\uff0c\u6211\u8be5\u5982\u4f55\u67e5\u627e\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>14<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5269972\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lxilu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e0d\u544a\u8bc9\u4f60\u4e86\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269973\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lxilu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             The Texinfo documentation (see SEE ALSO) explains the meaning of and differences between the various types of regular expression.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269974\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : omph <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \uff08 see SEE ALSO \uff09<br \/>\u6700\u4e0b\u9762\u7684\u5907\u6ce8\u91cc\u6709\u89e3\u91ca                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269975\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lolcat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lxilu \u8c22\u8c22\uff0c\u6211\u770b SEE ALSO \u90e8\u5206\u7528 info find \u547d\u4ee4\u627e\u5230\u6b63\u5219\u8868\u8fbe\u5f0f\u7c7b\u578b\u4e86\u3002\u8bf7\u95ee man \u624b\u518c\u4e2d\u7684-regextype help \u7c97\u4f53\u5b57\u6709\u5565\u542b\u4e49\uff1f man \u624b\u518c\u4e3a\u5565\u8981\u6211\u4f7f\u7528-regextype help \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269976\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lolcat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @omph \u8c22\u8c22\uff0c\u6211\u770b SEE ALSO \u90e8\u5206\u7528 info find \u547d\u4ee4\u627e\u5230\u6b63\u5219\u8868\u8fbe\u5f0f\u7c7b\u578b\u4e86\u3002\u8bf7\u95ee man \u624b\u518c\u4e2d\u7684-regextype help \u7c97\u4f53\u5b57\u6709\u5565\u542b\u4e49\uff1f man \u624b\u518c\u4e3a\u5565\u8981\u6211\u4f7f\u7528-regextype help \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269977\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lxilu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e94\u8be5\u53ea\u662f\u5360\u4f4d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269978\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zlowly <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b find \u7684\u6e90\u7801\u91cc\uff0c\u53ea\u8981 regextype \u540e\u7684\u53c2\u6570\u6ca1\u6709\u5339\u914d\u5230\u5df2\u77e5\u7c7b\u578b\uff0c\u5c31\u4f1a\u62a5\u9519\u3002\u5176\u4e2d\u6e90\u7801\u91cc\u7684\u90a3\u6bb5\u4ee3\u7801\u6ce8\u91ca\u662f<br \/>We didn&#8217;t find a match for the type of regular expression that the user indicated they wanted. Tell them what the options are.<br \/>\u6240\u4ee5\u7406\u8bba\u4e0a\u53ea\u8981 regextype \u540e\u7528\u4efb\u4f55\u975e\u5df2\u77e5\u7c7b\u578b\u90fd\u80fd\u5f97\u5230\u4e00\u6837\u7684\u4fe1\u606f\uff0cman \u624b\u518c\u91cc\u53ef\u80fd\u53ea\u662f\u4e3a\u4e86\u7528\u6237\u65b9\u4fbf\u8bb0\u5fc6\u5efa\u8bae\u7528 help \u4f5c\u4e3a\u53c2\u6570\u800c\u5df2\uff0c\u65e0\u9700\u505a\u8fc7\u591a\u89e3\u8bfb\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269979\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : asahui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u662f\u5355\u7eaf\u82f1\u6587\u95ee\u9898\uff0c\u5176\u5b9e\u8fd9\u91cc\u7684\u52a0\u7c97\u800c\u4e14\u4e0d\u662f\u50cf markdown \u91cc\u7684`code` \u8fd9\u6837\uff0c\u5c31\u662f\u5355\u7eaf\u63d0\u914d\u4f60\u2014\u2014\u53bb\u770b-regextype \u7684 help\uff0c\u8fd9\u91cc\u7684 help \u5c31\u662f\u6587\u6863\u7684\u610f\u601d\uff0c\u8fd9\u53e5\u8bdd\u4e0d\u662f\u53eb\u4f60\u6253`-regextype help`\uff0c\u800c\u662f\u67e5`-regextype`\u7684 help                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269980\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : omph <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             linux \u662f\u4e2a\u81ea\u7531\u7684\u4e16\u754c\uff0c\u5305\u62ec\u547d\u4ee4\u7684\u683c\u5f0f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269981\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : feedcode <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u606d\u559c\u4f60\u627e\u5230\u4e86\u4e00\u4e2a\u6587\u6863\u7684 bug\uff0c\u6587\u6863\u548c\u884c\u4e3a\u4e0d\u5339\u914d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269982\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : feedcode <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u67e5\u4e86\u4e0b\u6700\u65b0\u7684 4.8.0, \u6587\u6863\u5df2\u7ecf\u4fee\u6b63\u4e86<br \/>https:\/\/git.savannah.gnu.org\/cgit\/findutils.git\/plain\/doc\/find.texi<br \/>http:\/\/www.gnu.org\/software\/findutils\/manual\/html%5Fmono\/find.html#Full-Name-Patterns                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269983\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lolcat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @feedcode \u8bf7\u95ee\u4f60\u8fd9\u770b\u7684\u7f51\u9875\u662f info find \u663e\u793a\u7684\u7ed3\u679c\u5427\uff1f\u5728\u54ea\u770b 4.8 \u7248\u672c\u7684 man find \u663e\u793a\u7684\u7ed3\u679c\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269984\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : feedcode <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             good question. <br \/>\u7f51\u9875\u662f\u4ece doc\/find.texi \u751f\u6210\u7684 \uff08 Texinfo is the official documentation format of the GNU project \uff09<br \/>http:\/\/www.gnu.org\/software\/texinfo\/manual\/texinfo\/texinfo.html#Adding-Output-Formats<br \/>&gt; From time to time, proposals are made to generate traditional Unix man pages from Texinfo source. However, because man pages have a strict conventional format, creating a good man page requires a completely different source from that needed for the typical Texinfo applications of writing a good user tutorial and\/or a good reference manual. This makes generating man pages incompatible with the Texinfo design goal of not having to document the same information in different ways for different output formats. You might as well write the man page directly. <\/p>\n<p>find \u7684 man \u5e94\u8be5\u662f https:\/\/git.savannah.gnu.org\/cgit\/findutils.git\/plain\/find\/find.1 , \u91cc\u9762\u8fd8\u662f\u8fc7\u65f6\u7684\u4fe1\u606f\uff0c:(                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5269985\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @feedcode \u611f\u8c22\u3002\u6211\u770b\u4e86\u8fd9\u4e2a\u5e16\u5b50\u89c9\u5f97\u4e3b\u95ee\u7684\u95ee\u9898\u662f\u6709\u9053\u7406\u7684\uff0c\u6211\u4e5f\u7406\u89e3\u4e0d\u4e86\u3002\u4e0a\u4e3a\u6587\u6863\u7684\u5c0f\u9519\u8bef\u8fa9\u89e3\uff0c\u6211\u8fd8\u4ee5\u4e3a\u6211\u4e0d\u4f1a\u9605\u8bfb\u4e86\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u9605\u8bfb man \u624b\u518c\u9047\u5230\u7684\u95ee\u9898\uff0c\u7c97\u4f53&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/341205"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=341205"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/341205\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=341205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=341205"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=341205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}