2
One application sometimes, not very often, puts some incorrect (binary) characters in log. Only information that it matches is printed, no matched lines.
$ grep -e error app.log
Binary file app.log matches
How can I grep the log simply omitting the binary characters?
less
handles the file correctly, prints the binary characters as some escape sequences, so maybe some pipe less
to grep
will solve the issue.