URL:
  <http://savannah.gnu.org/bugs/?25757>

                 Summary: read from file results are order dependent
                 Project: grep
            Submitted by: None
            Submitted on: Wed 04 Mar 2009 12:52:13 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25757>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to