Comment 0 for bug 1665365

Revision history for this message
marco vaccari (marcov64) wrote : grep switch -v does not emit expected rows. Upgrade to 2.9 solve problem

Description: Ubuntu 16.04.1 LTS
Release: 16.04

grep:
  Installato: 2.25-1~16.04.1
  Candidato: 2.25-1~16.04.1

On very long file generated using util find (in a large system automatic backup procedure).
1) switch -v exclude random rows not matching regular expression
2) grep declare "binary" the text file ("binary file xxx match")

LANG=it_IT.UTF-8

apparently SOLVED with:
LANG=C egrep ....

or upgrading to 2.9 from GNU repository.

Cannot replicate bug with simple forged text file.