{"published":"2009-10-01 01:41:47","title":"2\u3064\u306e\u6587\u5b57\u5217\u3092\u6bd4\u8f03\u3059\u308b\u95a2\u6570","height":"190","url":"https://anmino.hatenadiary.org/entry/20091001/1254328907","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanmino.hatenadiary.org%2Fentry%2F20091001%2F1254328907\" title=\"2\u3064\u306e\u6587\u5b57\u5217\u3092\u6bd4\u8f03\u3059\u308b\u95a2\u6570 - \u3042\u3093\u307f\u306e\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_title":"\u3042\u3093\u307f\u306e\u306e\u5099\u5fd8\u9332","width":"100%","provider_name":"Hatena Blog","blog_url":"https://anmino.hatenadiary.org/","categories":["UNIX/Linux"],"description":"\u95a2\u6570\u540d: StrCmp \u66f8\u5f0f: StrCmp \u6587\u5b57\u52171 \u6587\u5b57\u52172 \u76ee\u7684: 2\u3064\u306e\u6587\u5b57\u5217\u3092\u6bd4\u8f03\u30573\u3064\u306e\u7d50\u679c\u3092\u8fd4\u3059 \u623b\u308a\u5024: \u7b49\u3057\u3044\u5834\u5408:0 \u524d\u8005\u306e\u65b9\u304c\u5c0f\u3055\u3044\u5834\u5408:-1 \u524d\u8005\u306e\u65b9\u304c\u5927\u304d\u3044\u5834\u5408:1 StrCmp() { if [ $# -ne 2 ]; then echo \"Usage: StrCmp string1 string2\" 1>&2 exit 1 fi if [ \"$1\" = \"$2\" ]; then echo \"0\" else _TMP=`{ echo \"$1\"; echo \"$2\"; } | sort | sed -n '1p'` if [ \"$_TMP\" = \"$1\" ]; the\u2026","author_url":"https://blog.hatena.ne.jp/anmino/","version":"1.0","image_url":null,"provider_url":"https://hatena.blog","author_name":"anmino"}