bug-grep
[Top][All Lists]
Advanced

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

bug#23844: broken: randomly detexts textf files as binary


From: Paul Eggert
Subject: bug#23844: broken: randomly detexts textf files as binary
Date: Sat, 25 Jun 2016 09:43:15 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 06/25/2016 12:09 AM, php fan wrote:
What is the status of this bug??

https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1535458


You can use either 'grep -a FOO' or 'LC_ALL=C grep FOO' to search through arbitrarily encoded files. You may get a 'binary files' message if your locale specifies some other encoding (e.g., UTF-8) and if grep would otherwise output a line with an encoding error, but that's not a bad thing to do, as encoding errors are not text.





reply via email to

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