John Refling wrote: > Binary file src/grep.exe matches > > ... error messages should NEVER be injected into the same stream as the > users input / output dat
It's not an error message. > grep should NEVER add more data to the output stream than > was in the input stream grep has always done that sort of thing. E.g., grep has put file names into the output stream ever since the 1970s. Perhaps there should be an option for 'grep' to treat binary matches as errors and to issue diagnostics on stderr rather than issue info on stdout. That being said, the current behavior is useful too, and has been in place since the 1990s, and changes in this area should not be made casually.