<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohei-a</author_name>
  <author_url>https://blog.hatena.ne.jp/yohei-a/</author_url>
  <blog_title>ablog</blog_title>
  <blog_url>https://yohei-a.hatenablog.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>例えば1つ以上の空行をレコードセパレータ、改行をフィールドセパレータとしたい場合以下のようにする。hoge.txt があって、 % cat hoge.txt name:smith age:40 gender:male name:neo age:30 gender:male name:trinity age:28 gender:female 1フィールド目に neo を含むレコードの2フィールド目を表示してみる。 % perl -00 -F'\n' -lane 'print $F[1] if($F[0] =~ /neo/)' hoge.txt age:30 -00 で1つ以上の空行がレコードセパ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20090825%2F1251178291&quot; title=&quot;Perl ワンライナーでカスタムフィールドセパレータを使う - ablog&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://images-fe.ssl-images-amazon.com/images/I/415NIum-vpL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-08-25 14:31:31</published>
  <title>Perl ワンライナーでカスタムフィールドセパレータを使う</title>
  <type>rich</type>
  <url>https://yohei-a.hatenablog.jp/entry/20090825/1251178291</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
