{"author_url":"https://blog.hatena.ne.jp/a1026302/","url":"https://a1026302.hatenablog.com/entry/2023/10/10/100650","version":"1.0","blog_title":"\u3082\u306e\u3065\u304f\u308a\u306e\u30d6\u30ed\u30b0","author_name":"a1026302","blog_url":"https://a1026302.hatenablog.com/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2023%2F10%2F10%2F100650\" title=\"\u3010\u30b3\u30de\u30f3\u30c9\u3011grep: (\u6a19\u6e96\u5165\u529b): binary file matches \u3068\u3067\u305f\u6642\u306e\u5bfe\u51e6 - \u3082\u306e\u3065\u304f\u308a\u306e\u30d6\u30ed\u30b0\" 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%","description":"grep \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u3044\u305f\u3089\u3001\u4e2d\u8eab\u306f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb \u306a\u306e\u306b \"binary file matches\" \u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u304d\u3066\u51e6\u7406\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306e\u56de\u907f\u65b9\u6cd5\u3092\u3053\u3053\u306b\u30e1\u30e2\u3057\u307e\u3059\u3002 \u30a8\u30e9\u30fc \u56de\u907f\u65b9\u6cd5 \u30aa\u30d7\u30b7\u30e7\u30f3 \u300c-a\u300d \u300c\u2013text\u300d \u300c\u2013binary-files=text\u300d \u30a8\u30e9\u30fc \u5b9f\u884c\u3057\u305f\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u306e\u3082\u306e\u3067\u3059\u3002 $ grep \"HOGE\" sample.txt Binary file (standard input) matches \u539f\u56e0\u306f grep \u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u30d0\u30a4\u30ca\u30ea\u3068\u601d\u308f\u308c\u308b\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u3066\u3001\u305d\u308c\u304c\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u306a\u304f\u3001\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u51e6\u7406\u3055\u308c\u3066\u30a8\u2026","type":"rich","title":"\u3010\u30b3\u30de\u30f3\u30c9\u3011grep: (\u6a19\u6e96\u5165\u529b): binary file matches \u3068\u3067\u305f\u6642\u306e\u5bfe\u51e6","height":"190","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917","published":"2023-10-10 10:06:50","provider_url":"https://hatena.blog","categories":["\u30b3\u30de\u30f3\u30c9","\u30b3\u30de\u30f3\u30c9-grep"]}