<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masasuz</author_name>
  <author_url>https://blog.hatena.ne.jp/masasuz/</author_url>
  <blog_title>目の前に僕らの道がある</blog_title>
  <blog_url>https://masasuzu.hatenablog.jp/</blog_url>
  <categories>
    <anon>sh</anon>
    <anon>linux</anon>
  </categories>
  <description>testコマンドは真の場合、0を返します。0を返します。0を返します。0を返します。偽の場合、1を返します。 今日一番はまった大事なことなので3回繰り返しました。要するに0が真ってところがミソです。でもtest 1は真って判断されてしまうんですよね。その辺、紛らわしい。 if test 1; then echo 'it is true' fi</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasasuzu.hatenablog.jp%2Fentry%2F20100607%2F1296905224&quot; title=&quot; シェルスクリプトのtestコマンドの戻り値 - 目の前に僕らの道がある&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>2010-06-07 20:27:04</published>
  <title> シェルスクリプトのtestコマンドの戻り値</title>
  <type>rich</type>
  <url>https://masasuzu.hatenablog.jp/entry/20100607/1296905224</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
