<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anmino</author_name>
  <author_url>https://blog.hatena.ne.jp/anmino/</author_url>
  <blog_title>あんみのの備忘録</blog_title>
  <blog_url>https://anmino.hatenadiary.org/</blog_url>
  <categories>
    <anon>UNIX/Linux</anon>
  </categories>
  <description>関数名: StrCmp 書式: StrCmp 文字列1 文字列2 目的: 2つの文字列を比較し3つの結果を返す 戻り値: 等しい場合:0 前者の方が小さい場合:-1 前者の方が大きい場合:1 StrCmp() { if [ $# -ne 2 ]; then echo &quot;Usage: StrCmp string1 string2&quot; 1&gt;&amp;2 exit 1 fi if [ &quot;$1&quot; = &quot;$2&quot; ]; then echo &quot;0&quot; else _TMP=`{ echo &quot;$1&quot;; echo &quot;$2&quot;; } | sort | sed -n '1p'` if [ &quot;$_TMP&quot; = &quot;$1&quot; ]; the…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanmino.hatenadiary.org%2Fentry%2F20091001%2F1254328907&quot; title=&quot;2つの文字列を比較する関数 - あんみのの備忘録&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-10-01 01:41:47</published>
  <title>2つの文字列を比較する関数</title>
  <type>rich</type>
  <url>https://anmino.hatenadiary.org/entry/20091001/1254328907</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
