<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohei-a</author_name>
  <author_url>https://blog.hatena.ne.jp/yohei-a/</author_url>
  <blog_title>ablog</blog_title>
  <blog_url>https://yohei-a.hatenablog.jp/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>Linux</anon>
  </categories>
  <description>if [ &quot;$var1&quot; = 'test' ]; then echo 'string is SAME' else echo 'string is NOT same' fi このとき、変数参照をすべて &quot;〜&quot; で囲むのがコツである。これは変数が未定義のために展開されないと、test コマンドに対する引数が不足してしまうからである。注意されたい。 Super Technique 講座〜bash 超プログラム術</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20091214%2F1260778656&quot; title=&quot;bash で文字列比較を行う時に変数をダブルクオートで囲う理由 - ablog&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-12-14 17:17:36</published>
  <title>bash で文字列比較を行う時に変数をダブルクオートで囲う理由</title>
  <type>rich</type>
  <url>https://yohei-a.hatenablog.jp/entry/20091214/1260778656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
