This is fixed in grep 2.25, which is in yakkety. ** Bug watch added: Debian Bug tracker #800670 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800670
** Also affects: grep (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800670 Importance: Unknown Status: Unknown ** Changed in: grep (Ubuntu Xenial) Assignee: (unassigned) => Martin Pitt (pitti) ** Changed in: grep (Ubuntu Yakkety) Status: Confirmed => Fix Released ** Description changed: - I noticed this staring to happen in Xenial about two days ago. When + I noticed this starting to happen in Xenial about two days ago. When running sbuild (or now the buildd, too), the build breaks when trying to compile a generated file. I traced the problem down to grep suddenly acting weird. When not having any language set (or a non-UTF8 mode) it will start printing some lines of a source file and then suddenly end that by printing "Binary file ... matches". With the attached file, the difference can be observed (running Xenial): LANG=C grep -v xxx grant_table.h and LANG=C.UTF-8 grep -v xxx grant_table.h + + Upstream bug: http://bugs.gnu.org/23234 ** Changed in: grep (Ubuntu Xenial) Status: New => In Progress -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1547466 Title: grep switches into binary mode while processing a text file Status in grep package in Ubuntu: Fix Released Status in grep source package in Xenial: In Progress Status in grep source package in Yakkety: Fix Released Status in grep package in Debian: Unknown Bug description: I noticed this starting to happen in Xenial about two days ago. When running sbuild (or now the buildd, too), the build breaks when trying to compile a generated file. I traced the problem down to grep suddenly acting weird. When not having any language set (or a non-UTF8 mode) it will start printing some lines of a source file and then suddenly end that by printing "Binary file ... matches". With the attached file, the difference can be observed (running Xenial): LANG=C grep -v xxx grant_table.h and LANG=C.UTF-8 grep -v xxx grant_table.h Upstream bug: http://bugs.gnu.org/23234 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1547466/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp