<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kanbayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/kanbayashi/</author_url>
  <blog_title>Ryoの開発日記 Neo!</blog_title>
  <blog_url>https://ryogrid.hatenablog.com/</blog_url>
  <categories>
    <anon>メモ</anon>
    <anon>shell</anon>
  </categories>
  <description>if [ `uname -a | grep xen | wc -l` -eq 1 ] then echo &quot;find!!&quot; fi なんかスマートじゃないような気がするけどまぁいいや。 シェルスクリプトは本当に終わってる言語ですね。 #追記 トラバで教えてもらったことを使うと下のような感じで書けるみたい uname -a | grep -q el if [ $? -eq 0 ] then echo &quot;find!!&quot; fi$?には直前のコマンドの終了ステータスが入る hdkさんに教えてもらったのだと case `uname -a` in *xen* ) echo &quot;find!!&quot;; esacとか。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryogrid.hatenablog.com%2Fentry%2F20071118%2Fp1&quot; title=&quot;unameに特定の文字が含まれていたらなにかする - Ryoの開発日記 Neo!&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>2007-11-18 00:00:00</published>
  <title>unameに特定の文字が含まれていたらなにかする</title>
  <type>rich</type>
  <url>https://ryogrid.hatenablog.com/entry/20071118/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
