<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eel3</author_name>
  <author_url>https://blog.hatena.ne.jp/eel3/</author_url>
  <blog_title>新・日々録 by TRASH BOX@Eel</blog_title>
  <blog_url>https://eel3.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>組込み関連の仕事をしていることもあり、納品用に書いているコードはC言語かC++なのだが、納品物以外は別の言語で書くことが多い。テキスト処理にはsedやgawkを使うことが多いが、それ以外にもRubyやWSH + JScriptを使ったりする。id:eel3:20080810 でも書いたが、小ツールを実装する時は標準入力とファイルのどちらからの入力にも対応できるようにしている。Rubyの場合、標準入力は組込み定数の STDINで、ファイルはFileクラスのオブジェクトだ。STDINはIOクラスに属していて、FileクラスはIOクラスを継承しているので、どちらも大体同じように扱うことができる。 i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feel3.hatenablog.com%2Fentry%2F20080813%2F1228920474&quot; title=&quot;Duck TypingとFILE構造体に思うこと - 新・日々録 by TRASH BOX@Eel&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>2008-08-13 23:47:54</published>
  <title>Duck TypingとFILE構造体に思うこと</title>
  <type>rich</type>
  <url>https://eel3.hatenablog.com/entry/20080813/1228920474</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
