
{"id":7908,"date":"2012-11-25T13:00:03","date_gmt":"2012-11-25T13:00:03","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7908"},"modified":"2012-11-25T13:00:03","modified_gmt":"2012-11-25T13:00:03","slug":"search-and-replace-using-sed","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/11\/25\/search-and-replace-using-sed\/","title":{"rendered":"SEARCH AND REPLACE USING SED"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$ 4.2.36 13 513---&gt; cat math.html\n&lt;html&gt;\n&lt;body&gt;\n&lt;msup&gt;\n&lt;mfenced&gt;\n&lt;mi&gt;a&lt;\/mi&gt;\n&lt;mo&gt;+&lt;\/mo&gt;\n&lt;mi&gt;b&lt;\/mi&gt;\n&lt;\/mfenced&gt;\n&lt;mn&gt;2&lt;\/mn&gt;\n&lt;\/msup&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n$ 4.2.36 14 514---&gt; $ sed \"s\/html\/HTML\/g\" math.html &gt; math-new.html\nbash: $: command not found\n$ 4.2.36 15 515---&gt; sed \"s\/html\/HTML\/g\" math.html &gt; math-new.html\n$ 4.2.36 16 516---&gt; cat math-new.html\n&lt;HTML&gt;\n&lt;body&gt;\n&lt;msup&gt;\n&lt;mfenced&gt;\n&lt;mi&gt;a&lt;\/mi&gt;\n&lt;mo&gt;+&lt;\/mo&gt;\n&lt;mi&gt;b&lt;\/mi&gt;\n&lt;\/mfenced&gt;\n&lt;mn&gt;2&lt;\/mn&gt;\n&lt;\/msup&gt;\n&lt;\/body&gt;\n&lt;\/HTML&gt;\n$ 4.2.36 17 517---&gt;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.36 13 513&#8212;&gt; cat math.html &lt;html&gt; &lt;body&gt; &lt;msup&gt; &lt;mfenced&gt; &lt;mi&gt;a&lt;\/mi&gt; &lt;mo&gt;+&lt;\/mo&gt; &lt;mi&gt;b&lt;\/mi&gt; &lt;\/mfenced&gt; &lt;mn&gt;2&lt;\/mn&gt; &lt;\/msup&gt; &lt;\/body&gt; &lt;\/html&gt; $ 4.2.36 14 514&#8212;&gt; $ sed &#8220;s\/html\/HTML\/g&#8221; math.html &gt; math-new.html bash: $: command not found $ 4.2.36 15 515&#8212;&gt; sed &#8220;s\/html\/HTML\/g&#8221; math.html &gt; math-new.html $ 4.2.36 16 516&#8212;&gt; cat math-new.html &lt;HTML&gt; &lt;body&gt; &lt;msup&gt; &lt;mfenced&gt; &lt;mi&gt;a&lt;\/mi&gt; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/11\/25\/search-and-replace-using-sed\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SEARCH AND REPLACE USING SED&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7908"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=7908"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7908\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}