buggrep - Bugs: bug #25757, read from file results are order...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25757: read from file results are order dependent

Submitted by:  None
Submitted on:  Wed 04 Mar 2009 12:52:13 AM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 06 Dec 2009 06:35:21 PM UTC, comment #2:

It is reproducible in grep-2.5.1, but not in CVS or git repository. So ...

This bug has been fixed in CVS and in grep-2.5.4. You may download the latest release from:

ftp://ftp.gnu.org/gnu/grep/

Tony Abou-Assaleh <taa>
Project Administrator
Fri 04 Dec 2009 07:21:14 PM UTC, comment #1:

Not reproducible.

Paolo Bonzini <bonzini>
Wed 04 Mar 2009 12:52:13 AM UTC, original submission:

Hi,

This must certainly not be correct behavior. Switching the order of patterns read from a file gives different results. Note that actually none of the results are correct. There should be three matches. I've tried this on different strings and on two different platforms.

]$ cat dtest.list
dogthatdog

]$ cat drtest
dog
that
]$grep -of drtest dtest.list
dog
dog

]$ cat dtest
that
dog
]$grep -of dtest dtest.list
that
dog

thnx,
mik

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by taa (Posted a comment)
  • -unavailable- added by bonzini (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Dec 2009 08:10:14 PM UTCbonziniOpen/ClosedOpen=>Closed
    Fri 04 Dec 2009 07:21:14 PM UTCbonziniSeverity3 - Normal=>2 - Minor

    Back to the top


    Powered by Savane 3.1-cleanup1