agrep reports incorrect line numbers
Bug #190837 reported by
Robert Hunter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
agrep (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: agrep
Count lines in foo with 'wc':
: wc -l foo
13451702 foo
Verify with 'egrep':
: egrep -c '[ACGT]' foo
13451702
Now, look for an approximate pattern with agrep:
: agrep -n -2 GATACCA foo | tail -n 5
13460170: CATCACCAAACCGGC
13460178: TCTGGAGAACGTGAT
13460179: GGAGAACGTGATCCG
13460180: GAGAACGTGATCCGG
13460181: AACGTGATCCGGGAC
Woops! ;-)
Release:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Package:
ii agrep 4.17-5 text search tool with support for approximate patterns
To post a comment you must log in.
Is this symptom still reproducible in 8.10 or 9.04?