{"author_name":"shammer","author_url":"https://blog.hatena.ne.jp/shammer/","blog_title":"Shammer's Philosophy","published":"2015-05-12 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshammerism.hatenadiary.com%2Fentry%2F20150512%2Fp1\" title=\"Bash Shell Script Collection - 20150512 - Shammer&#39;s Philosophy\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_url":"https://shammerism.hatenadiary.com/","url":"https://shammerism.hatenadiary.com/entry/20150512/p1","provider_name":"Hatena Blog","title":"Bash Shell Script Collection - 20150512","provider_url":"https://hatena.blog","description":"Bash Shell Script my pocket reference - 20150221 - Shammerism\u306e\u5185\u5bb9\u306b\u3001\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u3092\u7121\u8996\u3057\u3066\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\u3092\u8ffd\u52a0\u3002 if \u6587 sample if basic if [ $# -ne 1 ];then echo \"Usage: $0 [123]\"; exit 1; fi if [ $1 -eq 1 ];then echo \"You are number#1.\"; elif [ $1 -eq 2 ];then echo \"You are number#2.\"; elif [ $1 -eq 3 ];then echo \"You are n\u2026","width":"100%","image_url":null,"type":"rich","categories":["ShellScript"],"version":"1.0"}