bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23763: Bug report: Grep stops, if a text file contains a null charac


From: Paul Eggert
Subject: bug#23763: Bug report: Grep stops, if a text file contains a null character after 32768 bytes
Date: Tue, 14 Jun 2016 22:30:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Bjoern Voigt wrote:
--binary-files=TYPE
   If the first few bytes of a file indicate that the file
   contains binary data, assume that the file is of type TYPE.

That's another place where the man page is obsolete and wrong. (In GNU projects, man pages are often poorly maintained as they are not the primary form of documentation; one is supposed to read the manual instead.) I installed the attached patch to fix that.

My MySQL mysqldump problem can be solved with --text or
--binary-files=text. So I do not search a quick solution anymore.

Works for me.

Attachment: 0001-doc-propagate-more-changes-from-grep.texi.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]