agrep reports incorrect line numbers

Bug #190837 reported by Robert Hunter
6
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: CATCACCAAACCGGCCATTCGGCGCCTTGC
13460178: TCTGGAGAACGTGATCCGGGACGCCGTGAC
13460179: GGAGAACGTGATCCGGGACGCCGTGACCTA
13460180: GAGAACGTGATCCGGGACGCCGTGACCTAC
13460181: AACGTGATCCGGGACGCCGTGACCTACACG

Woops! ;-)

Release:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

Package:
ii agrep 4.17-5 text search tool with support for approximate patterns

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in agrep:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in agrep:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.