{"author_name":"thr3a","type":"rich","url":"https://blog.turai.work/entry/20240806/1722956317","height":"190","description":"\u3084\u308a\u305f\u3044\u3053\u3068 \u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3042\u3063\u305f\u3068\u3059\u308b\u3002 #!/bin/bash # \u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u5165\u529b\u3092\u53d7\u3051\u53d6\u308b read -p \"a\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \" input_a read -p \"b\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \" input_b read -p \"c\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \" input_c if [ \"$input_a\" = \"a\" ] && [ \"$input_b\" = \"b\" ] && [ \"$input_c\" = \"c\" ]; then echo \"OK\" else echo \"NG\" exit 1 fi \u3053\u306e\u5834\u5408\u3001a\u5165\u529b\u3057\u3066\u30a8\u30f3\u30bf\u30fc\u3001b\u5165\u529b\u3057\u3066\u30a8\u30f3\u30bf\u30fc\u3001c\u5165\u529b\u3057\u3066\u30a8\u30f3\u2026","width":"100%","categories":["linux"],"title":"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5bfe\u8a71\u5f0f\u5165\u529b\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5","blog_url":"https://blog.turai.work/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20240806%2F1722956317\" title=\"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5bfe\u8a71\u5f0f\u5165\u529b\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5 - \u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057","published":"2024-08-06 23:58:37","author_url":"https://blog.hatena.ne.jp/thr3a/","provider_name":"Hatena Blog","version":"1.0","image_url":null}