{"provider_url":"https://hatena.blog","published":"2013-02-27 13:01:14","width":"100%","height":"190","blog_title":"tkuchiki\u306e\u65e5\u8a18","categories":["sed","\u30b3\u30de\u30f3\u30c9","Mac","Linux"],"url":"https://tkuchiki.hatenablog.com/entry/2013/02/27/130114","author_url":"https://blog.hatena.ne.jp/tkuchiki/","type":"rich","description":"\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u62ec\u7f6e\u63db\u3059\u308b\u3068\u304d\u306b\u3001 find /path/to/dir -type f | xargs sed -i \"s/hoge/foobar/g\" \u307f\u305f\u3044\u306b\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3053\u3068\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001 Mac\u3067\u306f\u3001 sed: 1: \"/path/to/dir\": invalid command code . \u3084\u3001 sed: 1: \"path/to/dir/file\": extra characters at the end of p command \u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002 \u3053\u308c\u306f\u3001Mac \u306e sed \u304c BSD \u306e\u3082\u306e\u3089\u3057\u304f\u3001GNU\u306eBSD \u3068\u4f7f\u3044\u65b9\u304c\u82e5\u5e72\u9055\u3046\u3088\u3046\u3067\u3059\u3002 \u305d\u306e\u305f\u3081\u3001GNU \u306e se\u2026","title":"BSD(Mac) \u3067 find xargs sed \u3092\u4f7f\u3046\u969b\u306e\u6ce8\u610f\u70b9","blog_url":"https://tkuchiki.hatenablog.com/","version":"1.0","image_url":null,"author_name":"tkuchiki","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkuchiki.hatenablog.com%2Fentry%2F2013%2F02%2F27%2F130114\" title=\"BSD(Mac) \u3067 find xargs sed \u3092\u4f7f\u3046\u969b\u306e\u6ce8\u610f\u70b9 - tkuchiki\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog"}