{"title":"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306eif\u6587\u306e\u66f8\u304d\u65b9","type":"rich","author_name":"program-shoshinsya","url":"https://program-shoshinsya.hatenablog.com/entry/2020/11/02/230318","width":"100%","author_url":"https://blog.hatena.ne.jp/program-shoshinsya/","image_url":null,"blog_title":"au\u306e\u65e5\u8a18","categories":["\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogram-shoshinsya.hatenablog.com%2Fentry%2F2020%2F11%2F02%2F230318\" title=\"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306eif\u6587\u306e\u66f8\u304d\u65b9 - au\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","published":"2020-11-02 23:03:18","blog_url":"https://program-shoshinsya.hatenablog.com/","height":"190","provider_url":"https://hatena.blog","description":"au\u3067\u3059\u3002\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb(sh)\u3067if\u6587\u3092\u66f8\u304f\u3068\u304d\u306bPython\u3084C\u3068\u306f\u4f55\u3068\u306a\u304f\u9055\u3063\u305f\u306e\u3067\u307e\u3068\u3081\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002 if\u6587\u306e\u66f8\u304d\u65b9 \u57fa\u672c\u5f62 if [ \u6761\u4ef6\u5f0f ]; then \u51e6\u7406 elif [ \u6761\u4ef6\u5f0f ]; then \u51e6\u7406 else \u51e6\u7406 fi\u7b49\u3057\u3044\u30fb\u7b49\u3057\u304f\u306a\u3044 \u6570\u5024\u306e\u5834\u5408\u306f\u300c-eq, -ne\u300d\u3067\u3001\u6587\u5b57\u5217\u306f\u300c=, !=\u300d\u304c\u6b63\u3057\u3044\u3088\u3046\u3067\u3059\u3002 n=1 if [ $n -eq 1 ]; then echo \u7b49\u3057\u3044 fi if [ $n -ne 2 ]; then echo \u7b49\u3057\u304f\u306a\u3044 fi\u3053\u308c\u3088\u308a\u306f\u4f8b\u306f\u306a\u304f\u6587\u5b57\u3067\u66f8\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002 LaTeX\u3092\u66f8\u3044\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u6642\u306e\u6570\u5f0f\u306e\u8a18\u6cd5\u3082\u540c\u69d8\u2026","version":"1.0"}