[Bug 1665365] [NEW] grep switch -v does not emit expected rows. LANG=C or upgrade to 2.9 solve problem

marco vaccari 1665365 at bugs.launchpad.net
Thu Feb 16 14:30:04 UTC 2017


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
Foundations Bugs, which is subscribed to grep in 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

Status in grep package in Ubuntu:
  New

Bug description:
  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.

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



More information about the foundations-bugs mailing list