grep switch -v does not emit expected rows. LANG=C or upgrade to 2.9 solve problem
Bug #1665365 reported by
marco vaccari
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grep (Ubuntu) |
New
|
Undecided
|
Unassigned |
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.
description: | updated |
summary: |
- 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 |
To post a comment you must log in.