<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ngyuki</author_name>
  <author_url>https://blog.hatena.ne.jp/ngyuki/</author_url>
  <blog_title>ngyukiの日記</blog_title>
  <blog_url>https://ngyuki.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>ログに日時が [1659316846] のように UNIX タイムスタンプで記録されているときに人にわかりやすく書式化するワンライナー。 cat &lt;&lt;'EOS' &gt;log.log [1659316843] りんご [1659316844] ごりら [1659316845] らっぱ [1659316846] perl EOS cat log.log | perl -MPOSIX -ple 's/^\[(\d+)\]/strftime(&quot;[%Y-%m-%dT%H:%M:%S]&quot;,localtime($1))/e' # [2022-08-01T10:20:43] りんご # [2022-08-01T…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fngyuki.hatenablog.com%2Fentry%2F2022%2F10%2F27%2F230123&quot; title=&quot;ログに含まれる UNIX タイムスタンプを書式化するワンライナー - ngyukiの日記&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>2022-10-27 23:01:23</published>
  <title>ログに含まれる UNIX タイムスタンプを書式化するワンライナー</title>
  <type>rich</type>
  <url>https://ngyuki.hatenablog.com/entry/2022/10/27/230123</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
