{"blog_title":"by shigemk2","description":"\u3053\u3061\u3089\u304b\u3089\u3002 case \u6587\u306e\u4f7f\u7528\u65b9\u6cd5 - UNIX & Linux \u30b3\u30de\u30f3\u30c9\u30fb\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 #!/bin/bash # \"q\" \u5165\u529b\u4ee5\u5916\u3067\u7d42\u4e86\u3057\u306a\u3044\u3088\u3046\u306b\u7121\u9650\u30eb\u30fc\u30d7\u306b\u3059\u308b\u3002 while : do read key case \"$key\" in \"a\" ) echo \"a\u304c\u5165\u529b\u3055\u308c\u307e\u3057\u305f\u3002\" ;; \"bb\" ) echo \"bb\u304c\u5165\u529b\u3055\u308c\u307e\u3057\u305f\u3002\" ;; \"c c c\" ) echo \"c c c\u304c\u5165\u529b\u3055\u308c\u307e\u3057\u305f\u3002\" ;; \"q\" ) echo \"\u7d42\u4e86\u3057\u307e\u3059\u3002\" break ;; esac done case\u3067\u59cb\u3081\u3066esac\u3067\u7d50\u3076\u3001\u3068\u3002","author_url":"https://blog.hatena.ne.jp/shigemk2/","author_name":"shigemk2","type":"rich","version":"1.0","height":"190","categories":["\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8"],"width":"100%","blog_url":"https://www.shigemk2.com/","url":"https://www.shigemk2.com/entry/20120423/1335115832","published":"2012-04-23 02:30:32","image_url":null,"provider_url":"https://hatena.blog","title":"case","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120423%2F1335115832\" title=\"case - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}