Public bug reported:

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")
3) Without -v switch rows are correctly selected

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.

** Affects: grep (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Description:  Ubuntu 16.04.1 LTS
  Release:      16.04
  
  grep:
-   Installato: 2.25-1~16.04.1
-   Candidato:  2.25-1~16.04.1
- 
+   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")
+ 3) Without -v switch rows are correctly selected
  
  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.

** Summary changed:

- grep switch -v does not emit expected rows. Upgrade to 2.9 solve problem
+ grep switch -v does not emit expected rows. LANG=C or upgrade to 2.9 solve 
problem

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1665365

Title:
  grep switch -v does not emit expected rows. LANG=C or upgrade to 2.9
  solve problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1665365/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to