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)

Submitted by:  None
Submitted on:  Mon 25 Jul 2005 03:57:05 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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

 

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

 

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 19 Jan 2006 01:16:45 PM UTCjulianfoadSummarygrep -w does not work=>grep -w does not work (with -F or fgrep)
Mon 25 Jul 2005 06:23:33 PM UTCjulianfoadStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Mon 25 Jul 2005 03:57:05 PM UTCNoneAttached File-=>Added grep-2.5.1-fgrep.patch, #2737

Back to the top


Powered by Savane 3.1-cleanup1