buggrep - Bugs: bug #13920, grep -w does not work (with -F or...

 
 

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

bug #13920: grep -w does not work (with -F or fgrep)

Submitter:  None
Submitted:  Mon 25 Jul 2005 03:57:05 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 25 Jul 2005 06:23:33 PM UTC, comment #2: 

Thanks for the report.  This has already been fixed in CVS.

Julian Foad <julianfoad>
Mon 25 Jul 2005 04:05:03 PM UTC, comment #1: 

Why do you say that the Fedora Core 4 patch does not work?  The Fedora Core 4 grep RPM package certainly does work with your example.

$ grep -F -w fo /tmp/testfile
fo
$ rpm -q grep
grep-2.5.1-48.2

Tim Waugh <twaugh>
Mon 25 Jul 2005 03:57:05 PM UTC, original submission:  

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).


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #3268:  grep-2.5.1-fgrep.patch added by None (5KiB - text/x-patch - Fedora Core 3 patch (from grep 2.5.1-31))

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-01-19 julianfoad Summarygrep -w does not work grep -w does not work (with -F or fgrep)
2005-07-25 julianfoad StatusNone Fixed
    Open/ClosedOpen Closed
2005-07-25 None Attached File- Added grep-2.5.1-fgrep.patch, #2737

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code