{"author_name":"takuya_1st","author_url":"https://blog.hatena.ne.jp/takuya_1st/","blog_url":"https://takuya-1st.hatenablog.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2016%2F12%2F27%2F053456\" title=\"bash\u306e\u914d\u5217\u306e\u307e\u3068\u3081\uff08\u5b9a\u7fa9\u30fb\u4ee3\u5165\u30fb\u53c2\u7167\u3068\u53d6\u5f97\u30fb\u30eb\u30fc\u30d7\uff09 - \u305d\u308c\u30de\u30b0\u3067\uff01\" 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":"\u305d\u308c\u30de\u30b0\u3067\uff01","provider_name":"Hatena Blog","width":"100%","url":"https://takuya-1st.hatenablog.jp/entry/2016/12/27/053456","image_url":null,"published":"2016-12-27 05:34:56","version":"1.0","categories":["bash","IFS","bash","bash\u306e\u4f7f\u3044\u65b9"],"type":"rich","height":"190","title":"bash\u306e\u914d\u5217\u306e\u307e\u3068\u3081\uff08\u5b9a\u7fa9\u30fb\u4ee3\u5165\u30fb\u53c2\u7167\u3068\u53d6\u5f97\u30fb\u30eb\u30fc\u30d7\uff09","description":"bash \u3082\u914d\u5217\u3092\u6271\u3048\u308b \u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u914d\u5217\u3092\u6271\u3048\u308b\u306e\u3067 \u914d\u5217\u3092\u6271\u3063\u3066\u307f\u308b\u3002 \u4eca\u56de\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u306e\u305f\u3081\u306b\u3001\u5909\u6570\u540d\u3092\u5927\u6587\u5b57\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3061\u308d\u3093\u5c0f\u6587\u5b57\u3082\u4f7f\u3048\u307e\u3059\u3002 \u5927\u6587\u5b57\u306f\u3001\u304a\u3082\u306b\u74b0\u5883\u5909\u6570\u3084\u30b9\u30af\u30ea\u30d7\u30c8\u9593\u3084\u30d7\u30ed\u30bb\u30b9\u9593\u3067\u5024\u3092\u6e21\u3059\u3068\u304d\u306b\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3088\u3046\u3067\u3059\u3002 \u914d\u5217\u306e\u5b9a\u7fa9 \u914d\u5217\u306e\u5b9a\u7fa9\u306b\u306f\u57fa\u672c\u7684\u306b\uff12\u3064\u3042\u308a\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u306e\u5b9f\u884c\u7d50\u679c\u3092\u914d\u5217\u306b\u5165\u308c\u305f\u3044\u5834\u5408\u306f\u3001mapfile \u3084 IFS \u3092\u4f7f\u3046\u306e\u304c\u3044\u3044\u3068\u304a\u3082\u3044\u307e\u3059\u3002 bash \u306e\u914d\u5217\u306e\u5b9a\u7fa9\u306e\u4f8b declare ARR=() declare -a ARR # \u307e\u305f\u306f arr=() #\u7121\u7cbe\u3059\u308b\u5834\u5408 \u914d\u5217\u306e\u5b9a\u7fa9\u3092\u6539\u884c\u3059\u308b\u5834\u5408\u306f\u3001\u6587\u5b57\u5217\u3067\u30af\u30a9\u30fc\u30c8\u304c\u624b\u3063\u53d6\u308a\u65e9\u3044\u3002 \u2026","provider_url":"https://hatena.blog"}