{"url":"https://blog.chaspy.me/entry/2016/01/19/120000","published":"2016-01-19 12:00:00","author_name":"take_she12","blog_url":"https://blog.chaspy.me/","height":"190","categories":["Programming"],"author_url":"https://blog.hatena.ne.jp/take_she12/","type":"rich","image_url":null,"blog_title":"\u30c4\u30ca\u30ef\u30bf\u30ea\u30de\u30a4\u30e9\u30a4\u30d5","version":"1.0","width":"100%","description":"\u306f\u3058\u3081\u306b \u4ed5\u4e8b\u3067\u3001\u30d0\u30b0\u304c\u3042\u3063\u305f\u3089\u3057\u304f\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u304f\u308c\u306a\u3044\u304b\u3001\u3068\u983c\u307e\u308c\u305f\u3068\u304d\u306e\u8a71\u3002 \u5bfe\u8c61\u306e\u30b3\u30fc\u30c9 for i in 'hoge'(hoge\u306ffunction) \u95a2\u6570\u3092for\u3063\u3066\u3069\u3046\u3044\u3046\u3053\u3068\u3084\u306d\u3093 \u52d5\u304b\u3057\u3066\u307f\u308b sw_vers\u306fMac\u306eversion\u3092\u51fa\u529b\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002 #!/bin/bash sw_vers function find_mac_version { sw_vers } cnt=1 for i in `find_mac_version` do echo \"cnt ${cnt}\" echo $i cnt=`expr $cnt + 1` done \u7d50\u679c MacBoo\u2026","provider_name":"Hatena Blog","title":"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u95a2\u6570\u306e\u623b\u308a\u5024\u306b\u3064\u3044\u3066","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.chaspy.me%2Fentry%2F2016%2F01%2F19%2F120000\" title=\"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u95a2\u6570\u306e\u623b\u308a\u5024\u306b\u3064\u3044\u3066 - \u30c4\u30ca\u30ef\u30bf\u30ea\u30de\u30a4\u30e9\u30a4\u30d5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}