{"author_url":"https://blog.hatena.ne.jp/sinsoku/","version":"1.0","width":"100%","author_name":"sinsoku","height":"190","blog_url":"https://sinsoku.hatenablog.com/","title":"Ruby\u3084git-gsub\u3092\u4f7f\u3063\u3066\u6b63\u898f\u8868\u73fe\u3067\u8907\u6570\u884c\u3092\u7f6e\u63db\u3059\u308b part2","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","image_url":null,"description":"sinsoku.hatenablog.com \u306e\u7d9a\u304d\u3002 \u56de\u7b54 3 Ruby\u3067 -0777 \u3092\u6307\u5b9a\u3059\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u5358\u4f4d\u3067\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\u3092\u6559\u3048\u3066\u9802\u304d\u307e\u3057\u305f\u3002 $ cat foo.txt foo $ cat bar.txt bar $ cat buz.txt foo bar buz $ ruby -i -n0777 -e 'puts \"hi, \" + $_' foo.txt bar.txt buz.txt $ cat foo.txt hi, foo $ cat bar.txt hi, bar $ cat buz.txt hi, foo bar buz \u8a73\u7d30 -0777 \u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u521d\u3081\u3066\u77e5\u3063\u305f\u3051\u3069\u3001 \u2026","categories":["ruby"],"published":"2023-06-17 15:24:12","blog_title":"\u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31","url":"https://sinsoku.hatenablog.com/entry/2023/06/17/152412","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinsoku.hatenablog.com%2Fentry%2F2023%2F06%2F17%2F152412\" title=\"Ruby\u3084git-gsub\u3092\u4f7f\u3063\u3066\u6b63\u898f\u8868\u73fe\u3067\u8907\u6570\u884c\u3092\u7f6e\u63db\u3059\u308b part2 - \u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}