<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gabuchan</author_name>
  <author_url>https://blog.hatena.ne.jp/gabuchan/</author_url>
  <blog_title>がぶちゃんの日記</blog_title>
  <blog_url>https://gabu.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>func01.ctp func02.ctp func03.ctp という名前の空ファイルを01から12まで作りたかった。賢い人はbashでループ使ってtouchとかするんだろうけど、ゆとり世代なのでrubyで。 (1..12).each { |n| File.open(&quot;func&quot; + sprintf(&quot;%02d&quot;, n) + &quot;.ctp&quot;, &quot;w&quot;).close } 楽々ーさくさくー。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgabu.hatenablog.com%2Fentry%2F20090123%2F1232696762&quot; title=&quot;ある規則性のあるファイル名で空ファイルを作る。 - がぶちゃんの日記&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-23 16:46:02</published>
  <title>ある規則性のあるファイル名で空ファイルを作る。</title>
  <type>rich</type>
  <url>https://gabu.hatenablog.com/entry/20090123/1232696762</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
