> grep: (standard input): binary file matches
> you see, the \0 chars are already there.
> What can I do?

Is there a reason you need grep in there?

You can work around the issue by removing the grep completely
and do the filtering with sed: add the "-n" (no default output)
command-line option when calling sed, and the "p" (print) flag
to the substitute command:

  sed -ne 's/.../.../p'



Reply via email to