{"categories":["R"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcomputational-sediment-hyd.hatenablog.jp%2Fentry%2F2022%2F03%2F30%2F210000\" title=\"\u5099\u5fd8\u9332\uff1acsv\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u4e00\u62ec\u3067\u5909\u66f4\uff08UTF-8\u2192ShiftJIS\uff09\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8 - \u8da3\u5473\u3067\u8a08\u7b97\u6d41\u7802\u6c34\u7406 Computational Sediment Hydraulics for Fun Learning \" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","type":"rich","author_url":"https://blog.hatena.ne.jp/SedimentHydraulics/","height":"190","url":"https://computational-sediment-hyd.hatenablog.jp/entry/2022/03/30/210000","provider_url":"https://hatena.blog","published":"2022-03-30 21:00:00","image_url":null,"blog_url":"https://computational-sediment-hyd.hatenablog.jp/","blog_title":"\u8da3\u5473\u3067\u8a08\u7b97\u6d41\u7802\u6c34\u7406 Computational Sediment Hydraulics for Fun Learning ","description":"WSL2\u4e0a\u306eUbuntu18.04\u3067\u3001\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u5168\u3066\u306ecsv\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092UTF-8\u2192ShiftJIS\u306b\u5909\u66f4\u3059\u308b \u5834\u5408\u306f\u3001nkf\u3092\u4f7f\u3046\u4ee5\u4e0b\u306e\u65b9\u6cd5\u304c\u4e00\u756a\u697d\u304b\u3082\u3002 #!/bin/sh files=\"*.csv\" for filepath in ${files} do echo $filepath nkf -s --overwrite $filepath #\u5909\u66f4\u3057\u3066\u4e0a\u66f8\u304d nkf -g $filepath #\u78ba\u8a8d\u306e\u305f\u3081\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u51fa\u529b done \u53c2\u8003\u30b5\u30a4\u30c8\u306f\u4ee5\u4e0b nkf\u3067\u6587\u5b57\u30b3\u30fc\u30c9\u5909\u63db - Qiita \u3088\u304f\u4f7f\u3046\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8 - Qiita","title":"\u5099\u5fd8\u9332\uff1acsv\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u4e00\u62ec\u3067\u5909\u66f4\uff08UTF-8\u2192ShiftJIS\uff09\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8","provider_name":"Hatena Blog","author_name":"SedimentHydraulics"}