<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>一行野郎(one-liner)はperlにおまかせ を読んだ。 MO=Deparse ってのがあるのか。これはワンライナーが思うように動かなくて悩むときに役立ちそう。一発で動かせないほど複雑なプログラムならワンライナーで済ませるべきではない、という意見もありそうだけど・・・。 a で awk っぽく、ってのも面白いけど、一番感心したのは最後の何気ない % history | perl -nle'/perl/ and $p++;END{print $p}'だった。改行区切りのテキストファイルを一行ずつ読み込んで何かする場合に -n とか -p が便利なことは知っていたけど、たとえば各行が何かの数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F20090125%2F1232823583&quot; title=&quot;ワンライナーをもっと上手に書く余地がありそうだ - @kyanny&amp;#39;s blog&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>2009-01-25 03:59:43</published>
  <title>ワンライナーをもっと上手に書く余地がありそうだ</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/20090125/1232823583</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
