<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Rocco</author_name>
  <author_url>https://blog.hatena.ne.jp/Rocco/</author_url>
  <blog_title>日本 GNU AWK ユーザー会 0.2</blog_title>
  <blog_url>https://rocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>awk</anon>
  </categories>
  <description>わたなべさんのところの問題を awk でもやってみたけど、短くないなぁ。 0のカウント $ seq 1000 | awk -v RS=&quot;&quot; '$0=gsub(&quot;0&quot;,&quot;&quot;)' 192でも、これを会社とかで書かれても困るなぁ。(^^; 後から読めない。(まぁ、これそのものなら分かるけど、何かに紛れ込むと本気で辛い)gsub() が置換数を返すのと、$0 へ代入することで true ('1') になり自動的に $0 を print させて、RS を &quot;&quot; にすることで全てを 1 つのレコードとしているものです。これが最短かどうかは不明です。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frocco.hatenadiary.org%2Fentry%2F20071104%2Fp1&quot; title=&quot;0 のカウント - 日本 GNU AWK ユーザー会 0.2&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/R/Rocco/20071005/20071005230008.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-11-04 00:00:00</published>
  <title>0 のカウント</title>
  <type>rich</type>
  <url>https://rocco.hatenadiary.org/entry/20071104/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
