bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #13920] grep -w does not work


From: anonymous
Subject: [bug #13920] grep -w does not work
Date: Mon, 25 Jul 2005 15:57:06 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Firefox/1.0.6 (Debian package 1.0.6-1)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13920>

                 Summary: grep -w does not work
                 Project: grep
            Submitted by: None
            Submitted on: Mon 07/25/2005 at 11:57
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

There is problem with grep version 2.5.1 and 2.5.1a (2.4.2 is ok)

$ (echo 'foo';echo 'fo') > /tmp/testfile
$ /tmp/grep-2.5.1/src/grep -F -w fo /tmp/testfile
$ /tmp/grep-2.4.2/src/grep -F -w fo /tmp/testfile
fo

Another example

$ cat T3
123.45.13.11

$ cat T1
123.45.13.112 sdfgsdfhdryjh
123.45.13.117 sdfgfjuufykt
123.45.13.118 hgj6rjesrjtyt
123.45.13.119 thyrior4j
123.45.13.11 yjrutjetsju

$ /tmp/grep-2.5.1/src/grep -F -w -f T3 T1

$ /tmp/grep-2.4.2/src/grep -F -w -f T3 T1
123.45.13.11 yjrutjetsju


Fedora Core 3 has working version of grep 2.5.1 and patch is available as
grep-2.5.1-fgrep.patch (patch from FC4 does not work).







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 07/25/2005 at 11:57  Name: grep-2.5.1-fgrep.patch  Size: 4.95KB  
By: None
Fedora Core 3 patch (from grep 2.5.1-31)
<http://savannah.gnu.org/bugs/download.php?item_id=13920&item_file_id=2737>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13920>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]