<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuzo_kino</author_name>
  <author_url>https://blog.hatena.ne.jp/shuzo_kino/</author_url>
  <blog_title>Bye Bye Moore</blog_title>
  <blog_url>https://shuzo-kino.hateblo.jp/</blog_url>
  <categories>
    <anon>awk</anon>
  </categories>
  <description>dateコマンドで標準入力からの日付文字列を受け取り評価する - Bye Bye Moore と awkでN時間後の数値を設定したいなら……？？ - Bye Bye Moore の合わせ技で、awkでdateコマンドのN時間後記法を実行してみます。bashのコマンドを使う場合、system関数を使うか、コマンド文字列の実行結果をgetlineの引数に格納する方法があります。 今回は後者を使いました。 実際のところ 日付文字列と１６進数の値文字列が入ったパケットを受け取り、 日付文字列の１００時間後の結果として再変換する例は以下の通りです。 $ echo 2013-09-01 06:52:14+…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2020%2F01%2F09%2F235318&quot; title=&quot;awkでbash用のコマンドを使う - Bye Bye Moore&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-09 23:53:18</published>
  <title>awkでbash用のコマンドを使う</title>
  <type>rich</type>
  <url>https://shuzo-kino.hateblo.jp/entry/2020/01/09/235318</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
