<br />
<b>Warning</b>:  Use of undefined constant WP_ALLOW_REPAIR - assumed 'WP_ALLOW_REPAIR' (this will throw an Error in a future version of PHP) in <b>/var/www/wordpress/wp-config.php</b> on line <b>17</b><br />
{"id":402,"date":"2016-05-19T22:21:55","date_gmt":"2016-05-19T14:21:55","guid":{"rendered":"http:\/\/owemeawe.com\/?p=402"},"modified":"2017-03-22T06:21:57","modified_gmt":"2017-03-22T06:21:57","slug":"sed%e5%91%bd%e4%bb%a4%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/peloo.net\/?p=402","title":{"rendered":"sed\u547d\u4ee4\u8be6\u89e3"},"content":{"rendered":"<div>\n<div>\n\t\t<span style=\"font-size:16px\"><strong>\u4e00\u3001\u7b80\u4ecb<\/strong><\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp; sed\u547d\u4ee4\u662f\u8457\u540d\u7684Linux\u7cfb\u7edf\u6d41\u7f16\u8f91\u5668\uff0c\u5177\u6709\u5f3a\u5927\u7684\u6587\u672c\u5904\u7406\u529f\u80fd\uff0c\u548cgrep\u3001awk\u4e00\u5e76\u79f0\u4e3aLinux\u4e0b\u7684\u4e09\u5927\u6587\u672c\u5904\u7406\u5de5\u5177\u3002<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><strong>\u4e8c\u3001\u57fa\u672c\u7528\u6cd5<\/strong><\/span>\n<\/div>\n<div>\n<div>\n\t\t<span style=\"font-size:16px\"><strong>&nbsp;<\/strong><\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">sed [OPTION]... {script-only-if-no-other-script} [input-file]...<\/span>\n\t<\/div>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">option :<\/span>\n<\/div>\n<div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<b><span>-r, --regexp-extended<\/span><\/b><\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; use extended regular expressions in the script.<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;-n, --quiet, --silent<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; suppress automatic printing of pattern space<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><span> -e script, --expression=script<\/span><\/b><\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; add the script to the commands to be executed<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -f script-file, --file=script-file<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; add the contents of script-file to the commands to be executed<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -i[SUFFIX], --in-place[=SUFFIX]<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; edit files in place (makes backup if extension supplied).&nbsp; The default operation mode is to&nbsp; break&nbsp; symbolic&nbsp; and&nbsp; hard&nbsp; links.<\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This can be changed with --follow-symlinks and --copy.<\/span>\n\t<\/div>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">Address :<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">1 &nbsp;startline,endline<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp; e.g &nbsp; 1,33<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp; $ &nbsp;\u6700\u540e\u4e00\u884c<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">2 &nbsp;\/regexp\/<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp; \/^root$\/<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">3 &nbsp;\/pattern_1\/,\/pattern_2\/<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp; \u7b2c\u4e00\u6b21\u88abpattern1\u5339\u914d\u5230\u7684\u884c\u5f00\u59cb\uff0c\u81f3\u7b2c\u4e8c\u6b21\u88abpattern2\u5339\u914d\u5230\u7684\u884c\u7ed3\u675f\uff0c\u8fd9\u4e2d\u95f4\u7684\u6240\u6709\u884c<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">4 &nbsp;LineNumber<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp; \u6307\u5b9a\u7684\u884c<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">5 &nbsp;startline, +N<\/span><\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp; \u4ecestartline\u5f00\u59cb\u5411\u540e\u7684N\u884c<\/span><\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">Command :<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; d : \u5220\u9664\u7b26\u5408\u6761\u4ef6\u7684\u884c<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; p:\u6253\u5370\u7b26\u5408\u6761\u4ef6\u7684\u884c<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; a\\string &nbsp;\u5728\u6307\u5b9a\u884c\u540e\u8ffd\u52a0\u65b0\u884c\uff0c\u5185\u5bb9\u4e3astring<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; \\n &nbsp;\u53ef\u4ee5\u6362\u884c<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; i\\string &nbsp;\u5728\u6307\u5b9a\u7684\u884c\u524d\u9762\u6dfb\u52a0\u65b0\u884c\uff0c\u5185\u5bb9\u4e3astring<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; r file &nbsp;\u5c06\u6307\u5b9a\u7684\u6587\u4ef6\u5185\u5bb9\u6dfb\u52a0\u81f3\u7b26\u5408\u6761\u4ef6\u7684\u884c\u5904<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; w file &nbsp;\u5c06\u6307\u5b9a\u8303\u56f4\u5185\u7684\u884c\u53e6\u5b58\u81f3\u6307\u5b9a\u6587\u4ef6\u4e2d<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; s\/pattern\/string\/ &nbsp;\u4fee\u9970\u7b26 &nbsp;\u67e5\u627e\u5e76\u66ff\u6362\uff0c\u9ed8\u8ba4\u53ea\u66ff\u6362\u6bcf\u884c\u4e2d\u7b2c\u4e00\u6b21\u88ab\u6a21\u5f0f\u5339\u914d\u5230\u7684\u5b57\u7b26\u4e32<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; \u4fee\u9970\u7b26<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; g &nbsp;\u5168\u5c40\u66ff\u6362<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; i &nbsp; \u5ffd\u7565\u5927\u5c0f\u5199<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1\">&nbsp; &nbsp;&nbsp;<\/span>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;s\/\/\/ : s### &nbsp;, &nbsp; s@@@<\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\"><strong>\u4e09\u3001\u5b9e\u6218\u7ec3\u4e60<\/strong><\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">\u5df2\u77e5\u6587\u672c\u6587\u4ef6test\u7684\u5185\u5bb9\u5982\u4e0b\uff1a<\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n<div>\n\t\t<span style=\"font-size:16px\"># jjj<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp; like love like<\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; #&nbsp; love like rlike #<\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; #&nbsp; love like rlike #<\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; #&nbsp; love like rlike #<\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; #&nbsp; love like rlike #<\/span>\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; #&nbsp; love like rlike #<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">id:3:initdefault<\/span>\n\t<\/div>\n<div>\n\t\t&nbsp;\n\t<\/div>\n<div>\n\t\t<span style=\"font-size:16px\">#kkkkkkk<\/span>\n\t<\/div>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">1 &nbsp; &nbsp;\u5220\u9664\u6587\u4ef6test\u4e2d\u884c\u9996\u7684\u7a7a\u767d\u7b26<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">&nbsp; &nbsp;&nbsp;sed -r &#039;s\/^[[:space:]]+\/\/g&#039; test<\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">2 &nbsp; &nbsp;\u66ff\u6362\u6587\u4ef6\u4e2did:3:initdefault\u4e00\u884c\u7684\u6570\u5b57\u4e3a5<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">&nbsp; &nbsp;<b><span>&nbsp;<\/span><\/b><b><span>sed &#039;s\/\\(id:\\)[0-9]\\(:initdefault\\)\/\\15\\3\/g&#039; test<\/span><\/b><\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">3 &nbsp; &nbsp;\u5220\u9664test\u6587\u4ef6\u4e2d\u7684\u7a7a\u767d\u884c<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">&nbsp; &nbsp;&nbsp;sed &#039;\/^$\/d&#039; test<\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">4 &nbsp; &nbsp;\u5220\u9664test\u6587\u4ef6\u4e2d\u5f00\u5934\u7684#\u53f7<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">&nbsp; &nbsp;&nbsp;sed &#039;s\/^#\/\/&#039; test<\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">5 &nbsp; &nbsp;\u5220\u9664test\u6587\u4ef6\u4e2d\u5f00\u5934\u7684#\u53f7\u53ca\u540e\u9762\u7684\u7a7a\u767d\u5b57\u7b26\uff0c\u4f46\u8981\u6c42#\u540e\u9762\u5fc5\u987b\u6709\u7a7a\u767d\u5b57\u7b26<\/span>\n<\/div>\n<div>\n<div>\n\t\t<span style=\"font-size:16px\">&nbsp; &nbsp;&nbsp;sed &#039;s\/^\\(#[[:space:]]\\{1,\\}\\)*\/\/g&#039; test<\/span>\n\t<\/div>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">6 &nbsp; &nbsp;\u5220\u9664test\u6587\u4ef6\u4e2d\u4ee5\u7a7a\u767d\u5b57\u7b26\u540e\u9762\u8ddf#\u7684\u884c\u4e2d\u7684\u5f00\u5934\u7684\u7a7a\u767d\u5b57\u7b26\u548c#<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">&nbsp; &nbsp;&nbsp;sed &#039;s\/^\\([[:space:]]\\{1,\\}\\)#\/\/g&#039; test<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">\u6216sed -r &#039;s\/^#[[:space:]]+\\)*\/\/g&#039; test<\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">7 &nbsp; &nbsp;\u53d6\u51fa\u4e00\u4e2a\u6587\u4ef6\u8def\u5f84\u7684\u76ee\u5f55\u540d\u79f0\uff0c\u540e\u5411\u5f15\u7528\u7684\u4f8b\u5b50<\/span>\n<\/div>\n<div>\n\t<span style=\"font-size:16px\">&nbsp; &nbsp; echo &quot;\/etc\/passwd&quot; | sed -r &#039;s@^(\/.*\/)[^\/]+\/?@\\1\/g&#039;<\/span>\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n<div>\n\t&nbsp;\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u7b80\u4ecb &nbsp;&nbsp;&nbsp; sed\u547d\u4ee4\u662f\u8457\u540d\u7684Linux\u7cfb\u7edf\u6d41\u7f16\u8f91\u5668\uff0c\u5177\u6709\u5f3a\u5927\u7684\u6587\u672c\u5904\u7406\u529f\u80fd\uff0c\u548cgrep\u3001awk\u4e00\u5e76\u79f0\u4e3aLinux\u4e0b\u7684\u4e09\u5927\u6587\u672c\u5904\u7406\u5de5\u5177\u3002 &nbsp; &nbsp; \u4e8c\u3001\u57fa\u672c\u7528\u6cd5 &nbsp; sed [OPTION]&#8230; {script-only-if-no-other-script} [input-file]&#8230; &nbsp; option : &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;-r, &#8211;regexp-extended &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; use extended regular expressions in the script. &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;-n, &#8211;quiet, &#8211;silent &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; suppress automatic printing of pattern space &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -e script, &#8211;expression=script &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-402","post","type-post","status-publish","format-standard","hentry","category-linux-shell"],"aioseo_notices":[],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=402"}],"version-history":[{"count":8,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/402\/revisions"}],"predecessor-version":[{"id":850,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/402\/revisions\/850"}],"wp:attachment":[{"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}