<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>UNIX</anon>
    <anon>UNIX-Linux</anon>
  </categories>
  <description>コマンド 文字列b〜文字列eまでを取り出したい場合 awk '{print substr($0, index($0, &quot;b&quot;), index($0, &quot;e&quot;) - index($0, &quot;b&quot;) + 1)}'以下、補足です。 補足 以下の記事でhtmlからカテゴリーを取得するために試行錯誤していたのですが カテゴリ情報は &lt;/p&gt;....({&quot;article_category&quot;: &quot;Python,機械学習&quot;})&lt;/script&gt;... ......といったように長い一行の中に {&quot;article_category&quot;:&quot;カテゴリ名1,カテゴリ名2,カテゴリ名3&quot;} といった構造で格納されていました…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Fit%2Funix%2Flinux%2Fawkindex&quot; title=&quot;【awk】一行の中で文字列を抜き出す - (O+P)ut&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20190311/20190311204130.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-11 21:00:00</published>
  <title>【awk】一行の中で文字列を抜き出す</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/it/unix/linux/awkindex</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
