{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftweeeety.hateblo.jp%2Fentry%2F2015%2F01%2F22%2F171530\" title=\"\u3010sh\u3011\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3059\u308b\u30e1\u30e2 - eval - tweeeety\u306e\u3076\u308d\u3050\u7684\u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/tweeeety/","categories":["sh","linux"],"published":"2015-01-22 17:15:30","height":"190","title":"\u3010sh\u3011\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3059\u308b\u30e1\u30e2 - eval","description":"\u306f\u3058\u3081\u306b \u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3059\u308b\u6642\u306b \u30d0\u30c3\u30af\u30af\u30aa\u30fc\u30c8\u3067\u56f2\u3093\u3067\u9593\u9055\u3046\u81ea\u5206\u7528\u30e1\u30e2\u3002 \u305d\u308c\u3092\u3084\u308b\u306e\u306feval \u30e1\u30e2 \u307b\u3093\u3068\u3053\u308c\u3060\u3051 # vi cmd.sh ---- vi ---- #!/bin/sh command=\"echo hoge\" eval $command ------------ # ./cmd.sh hoge \u3061\u306a\u307f\u306b\u9593\u9055\u3048\u305d\u3046\u306a\u30c0\u30e1\u4f8b # vi cmd.sh ---- vi ---- #!/bin/sh command=\"echo hoge\" `$command` ------------ # ./cmd.sh ./cmd.sh: line 4: hoge: \u30b3\u30de\u30f3\u30c9\u2026","provider_name":"Hatena Blog","author_name":"tweeeety","blog_url":"https://tweeeety.hateblo.jp/","url":"https://tweeeety.hateblo.jp/entry/2015/01/22/171530","image_url":null,"provider_url":"https://hatena.blog","version":"1.0","blog_title":"tweeeety\u306e\u3076\u308d\u3050\u7684\u3081\u3082","type":"rich"}