On 11/29/2015 08:57 PM, Charles wrote:
Apparently grep silently stops processing when it encounters the invalid UTF-8:

The regular expression "." matches a single character, and ".*" matches a string of characters. In your example, there is an encoding error, and encoding errors are not characters so "." and ".*" do not match them. I don't see any bug here.

When the input has invalid characters so grep cannot process it, a message 
could be expected

That's a good suggestion, yes.



Reply via email to