patchgrep - Patches: patch #1834, fixes grep -w --color

 
 

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

patch #1834: fixes grep -w --color

Submitter:  Invalid User ID <#22011>
Submitted:  Sat 16 Aug 2003 12:36:40 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Thu 10 Nov 2005 08:24:33 PM UTC, comment #4: 

This issue has been addressed by patch #4604.

Charles Levert <charles_levert>
Wed 27 Apr 2005 06:31:32 PM UTC, comment #3: 

Case 3 is now fixed in CVS, with a regression test.

Julian Foad <julianfoad>
Thu 28 Oct 2004 12:00:45 PM UTC, comment #2: 

Elliott said in e-mail that in case 1 he had environment variable GREP_OPTIONS=--color, so it is just like case 2.  Cases 1 and 2 fail in version 2.5.1 by highlighting all matches of the pattern, not just where it matches a "word".  (In case 2, the first "is a" should be regarded as a word).

In case 3, the input line should be matched and given as output.  Version 2.5.1 gives no output.

Julian Foad <julianfoad>
Thu 28 Oct 2004 02:34:51 AM UTC, comment #1: 

This patch supercedes patch #1825.

Julian Foad <julianfoad>
Sat 16 Aug 2003 12:36:40 PM UTC, original submission:  

This patch fixes the following:

1. ruby -e 'puts "grep grepper\ngrepper grep grepper\ngrepper grep"' | grep -w grep

2. echo "this is a test, this is another" | grep -w --color "is a"

3. echo "grepper grep grepper" | grep -Fw grep

 --elliott

Invalid User ID <#22011>

 

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

No files currently attached

 

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

Date Changed by Updated Field Previous Value => Replaced by
2005-11-10 charles_levert StatusNone Duplicate
    Open/ClosedOpen Closed
2005-04-27 julianfoad Summaryfixes grep -w fixes grep -w --color

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code