{"id":3446,"date":"2014-11-11T14:10:15","date_gmt":"2014-11-11T14:10:15","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2014\/11\/11\/sed\/"},"modified":"2014-11-11T14:10:15","modified_gmt":"2014-11-11T14:10:15","slug":"sed","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/","title":{"rendered":"sed command"},"content":{"rendered":"<div class=\"in_this_tutorial\">\n<h2>In this tutorial:<\/h2>\n<p> <a class=\"btn btn-primary\" href=\"#structure\" type=\"button\">Command structure<\/a> <a class=\"btn btn-primary\" href=\"#commands\" type=\"button\">Commands<\/a> <a class=\"btn btn-primary\" href=\"#examples\" type=\"button\">Examples<\/a> <\/div>\n<p><em>Sed<\/em> (short for &#8216;<strong>s<\/strong>tream&#8217; &#8216;<strong>ed<\/strong>itor&#8217; is a special editor that is used for modifying files automatically. It is not an interactive editor, so it can be used if you are wanting to write a program to make changes in a file. Follow along below as we go through several examples of the <em>sed<\/em> command.<\/p>\n<p> <a name=\"structure\"><\/a> <\/p>\n<h2>Command Structure<\/h2>\n<p><strong>Command: <\/strong>sed<br \/> <strong>Synopsis: <\/strong>sed [OPTION]&#8230; {script-only-if-there-is-no-other-script} [input-file]&#8230;<\/p>\n<p> <strong>List of Options: <\/strong> <\/p>\n<div class=\"alert\"><strong>NOTE:<\/strong> Some options have only a short name, some only a long name, and some both. If an option has both, then you may use either format. <\/div>\n<table class=\"article_table\">\n<tr>\n<th width=\"80\">Short Name<\/th>\n<th width=\"180\">Long name<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>-n<\/td>\n<td>&#8211;quiet &#8211;silent<\/td>\n<td>This is quiet mode, where it does not print out anything unless a specific print request exists.<\/td>\n<\/tr>\n<tr>\n<td>-e script<\/td>\n<td>&#8211;expression=script<\/td>\n<td>Add the script to the commands to be executed.<\/td>\n<\/tr>\n<tr>\n<td>-f <em>script-file<\/em><\/td>\n<td>&#8211;file=<em>script-file<\/em><\/td>\n<td>This adds the contents of the &#8216;script-file&#8217; to the commands to be executed<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&#8211;follow-symlinks<\/td>\n<td>Follows symlinks when processing. The hard links will still be broken.<\/td>\n<\/tr>\n<tr>\n<td>-i[SUFFIX]<\/td>\n<td>&#8211;in-place[=SUFFIX]<\/td>\n<td>This will edit the files in place and make backups if an extension is supplied.<\/td>\n<\/tr>\n<tr>\n<td>-c<\/td>\n<td>&#8211;copy<\/td>\n<td>This is used when shuffling files using the <em>-i<\/em> option. It avoids breaking links, both hard and symlinks. <em>&#8211;follow-symlinks<\/em> is usually a better option, however, as it is both more secure and faster.<\/td>\n<\/tr>\n<tr>\n<td>-l N<\/td>\n<td>&#8211;line-length=N<\/td>\n<td>Use this command to specify thelength of a line, N, before it wraps.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&#8211;posix<\/td>\n<td>THis disables al the GNU extensions.<\/td>\n<\/tr>\n<tr>\n<td>-r<\/td>\n<td>&#8211;regexp-extended<\/td>\n<td>Command to use extended regular expressions in the script.<\/td>\n<\/tr>\n<tr>\n<td>-s<\/td>\n<td>&#8211;separate<\/td>\n<td>Consider each file separately as opposed to one long stream.<\/td>\n<\/tr>\n<tr>\n<td>-u<\/td>\n<td>&#8211;unbuffered<\/td>\n<td>Load minimal amounts of data form the input files and flus the output buffers more often.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&#8211;version<\/td>\n<td>Prints out the version information<\/td>\n<\/tr>\n<\/table>\n<p> <a name=\"commands\"><\/a> <\/p>\n<h2>List of Commands<\/h2>\n<table class=\"article_table\">\n<tr>\n<th>Structure<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td width=\"150\">=<\/td>\n<td>Used to print line numbers where the supplied parameter is found.<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">a \\<em>text<\/em><\/td>\n<td>Append text. This command inserts a new line and any specified text AFTER the specified parameter.<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">c \\<em>text<\/em><\/td>\n<td>This command is used to find the line the specified parameter is on and then change it to the text provided.<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">i \\<em>text<\/em><\/td>\n<td>Insert text. This command inserts a new line and any specified text BEFORE the specified parameter.<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">s \/regexp\/replacement<\/td>\n<td>This looks through the file looking to match the <em>regexp<\/em> parameter. Once found, it replaces it with the <em>replacement<\/em> parameter.<\/td>\n<\/tr>\n<\/table>\n<p> <a name=\"examples\"><\/a> <\/p>\n<h2>Examples<\/h2>\n<p>Using the commands and options above, you can create many different combinations to tailor <em>sed<\/em> to filter your files. Below are several examples using the command and options.<\/p>\n<h3>Substitution with sed s<\/h3>\n<p>This is one of the most often used options. This example below uses <em>sed<\/em> to look through a file named <em>old.txt<\/em> and substitute the word &#8216;day&#8217; for &#8216;night&#8217;, saving the result to a file named &#8216;new.txt.&#8217; <\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">sed 's\/day\/night\/' old.txt &gt; new.txt<\/span> <\/pre>\n<p>When we <em>cat<\/em> the original &#8216;old.txt&#8217; file, you can see it has two words.<\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">cat old.txt<\/span> day night <\/pre>\n<p>After running our command, when we <em>cat<\/em> the &#8216;new.txt&#8217; file, you can see the word &#8216;day&#8217; has been replaced with &#8216;night&#8217;.<\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">cat new.txt<\/span> night night <\/pre>\n<\/p>\n<h3>Changing the delimiter for the s command<\/h3>\n<p>When using the <em>s<\/em> command in the example above, we preceded the parameters with a forward slash \/. This works fine in many cases, but if you are wanting to use filepaths in your parameters, you may want to choose a different delimiter. To do this, simply precede the first parameter with your chosen parameter. For example, below we want to change the apth <em>\/home\/userna5\/public_html<\/em> to <em>\/home\/userna5\/public_html\/testfolder<\/em>.<\/p>\n<p>You could still use the slash delimiter, but you would need to escape all the slashes in your path, so it would end up looking like this:  <\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">sed '\/\\\/home\\\/userna5\\\/public_html\/\\\/home\\\/userna5\\\/public_html\\\/testfolder\/' old.txt &gt; new.txt<\/span> <\/pre>\n<p> This is quite ugly and can be confusing when trying to read it. <\/p>\n<p>Now, by using a different delimiter, it is much easier to read. Below we display delimiters using a colon : and a pipe |. These are also commonly used delimiters.  <\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">sed ':\/home\/userna5\/public_html:\/home\/userna5\/public_html\/testfolder:' old.txt &gt; new.txt<\/span> <\/pre>\n<pre class=\"cli\"> # <span style=\"color:red\">sed '|\/home\/userna5\/public_html|\/home\/userna5\/public_html\/testfolder|' old.txt &gt; new.txt<\/span> <\/pre>\n<\/p>\n<h3>Adding a line with the a command<\/h3>\n<p>If you want to insert some information on a new line, you can do so with the &#8216;<em>a<\/em>&#8216; command. Here we want to add a new line with the sentence &#8216;This is new&#8217; after the word &#8216;day&#8217; from the &#8216;old.txt&#8217; file and save it as &#8216;new.txt.&#8217;<\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">sed '\/day\/ a\\This is new' old.txt &gt; new.txt<\/span> <\/pre>\n<p> When we nano the &#8216;new.txt&#8217; file, we see the newly added content was inserted correctly. <\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">cat new.txt<\/span> day This is new night <\/pre>\n<h3>Changing a line with the c command<\/h3>\n<p>Rather than inserting a line, you can also change an existing line using the <em>c<\/em> command. In the example below, we use <em>sed<\/em> to change a line with the number 2 in it to say &#8216;ne new new!&#8217;. You do need to be careful because as you notice, it also changed the lines numbered 12 and 20 because they also had a 2 in them. <em>Sed<\/em> can be pretty greedy and make changes whenever possible, so be as accurate as you can when specifying what to change.<\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">sed '\/2\/ c\\new new new!' old.txt &gt; new.txt<\/span> <\/pre>\n<pre class=\"cli\"> # <span style=\"color:red\">cat new.txt<\/span> 1 day new new new! 3 4 5 6 7 8 9 10 11 new new new! 13 14 15 16 17 18 19 new new new! <\/pre>\n<h3>Finding the line number for a parameter using =<\/h3>\n<p>You can use <em>sed<\/em> to find the line number for a given parameter. For example, if I want to search a file named &#8216;new.txt&#8217; for the word &#8216;new&#8217;, it would return a list of line numbers that contain that word. In the example below, we also use the option <em>-n<\/em> so that it only prints out the line numbers involved. <\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">sed -n '\/new\/ =' new.txt<\/span> 2 12 20 <\/pre>\n<p> As you can see, the word new was found on lines 2, 12, and 20. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial: Command structure Commands Examples Sed (short for &#8216;stream&#8217; &#8216;editor&#8217; is a special editor that is used for modifying files automatically. It is not an interactive editor, so it can be used if you are wanting to write a program to make changes in a file. Follow along below as we go through<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\"> Read More ><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4308],"tags":[],"class_list":["post-3446","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>sed command | InMotion Hosting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"sed command | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this tutorial: Command structure Commands Examples Sed (short for &#8216;stream&#8217; &#8216;editor&#8217; is a special editor that is used for modifying files automatically. It is not an interactive editor, so it can be used if you are wanting to write a program to make changes in a file. Follow along below as we go through Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-11T14:10:15+00:00\" \/>\n<meta name=\"author\" content=\"Scott Mitchell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Scott Mitchell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"sed command\",\"datePublished\":\"2014-11-11T14:10:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\"},\"wordCount\":890,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\",\"name\":\"sed command | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2014-11-11T14:10:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"sed command\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\",\"name\":\"Scott Mitchell\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"sed command | InMotion Hosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/","og_locale":"en_US","og_type":"article","og_title":"sed command | InMotion Hosting","og_description":"In this tutorial: Command structure Commands Examples Sed (short for &#8216;stream&#8217; &#8216;editor&#8217; is a special editor that is used for modifying files automatically. It is not an interactive editor, so it can be used if you are wanting to write a program to make changes in a file. Follow along below as we go through Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2014-11-11T14:10:15+00:00","author":"Scott Mitchell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Scott Mitchell","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"sed command","datePublished":"2014-11-11T14:10:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/"},"wordCount":890,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/","name":"sed command | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2014-11-11T14:10:15+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/sed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"sed command"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed","name":"Scott Mitchell","url":"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=3446"}],"version-history":[{"count":0,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3446\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=3446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=3446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=3446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}