[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with .PDFPIC caused by pdfinfo
From: |
Tadziu Hoffmann |
Subject: |
Re: Problems with .PDFPIC caused by pdfinfo |
Date: |
Tue, 21 Sep 2021 15:23:40 +0200 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
> 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'