<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kiririmode</author_name>
  <author_url>https://blog.hatena.ne.jp/kiririmode/</author_url>
  <blog_title>理系学生日記</blog_title>
  <blog_url>https://kiririmode.hatenablog.jp/</blog_url>
  <categories>
    <anon>c++</anon>
  </categories>
  <description>字句解析 先日友人とご飯を食べてるときにシェルの話になって，「シェル作るときって字句解析がメンドくさいよねー」って話になりました．シェルというと，fork だの dup だの pipe だのがミソみたいな感じですけど，個人的に一番メンドい印象があるのが字句解析だったりします．UNIX C プログラミングとかにもシェルの簡易実装例があるんですけど，そのソースはこんな感じで，空白をデリミタとして分割するだけの形になっています． void parse( char *buf, char **args ) { while ( *buf != NULL ) { while ((*buf == ' ') |…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20090406%2Fp1&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-04-06 00:00:00</published>
  <title>シェルを作ってみた</title>
  <type>rich</type>
  <url>https://kiririmode.hatenablog.jp/entry/20090406/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
