patchgrep - Patches: patch #1940, -i -o option bug

 
 

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

patch #1940: -i -o option bug

Submitter:  None
Submitted:  Sun 21 Sep 2003 03:48:04 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

Thu 28 Oct 2004 01:54:10 AM UTC, comment #4: 

Sorry: my last comment ("CVS committers: take care...") was intended for a different patch.

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

CVS committers: take care not to check in the ".project" file that is also included in this patch; I assume that was unintentional.

Julian Foad <julianfoad>
Thu 28 Oct 2004 01:16:18 AM UTC, comment #2: 

This patch is not suitable.  When I test it, it causes each of the four test cases to output "ab" when two of them (with uppercase input) should output "AB".

Also, it didn't compile initially because of "//" comments and HTML formatting like "&lt;" for "<", and it doesn't follow the project's coding style.

Julian Foad <julianfoad>
Sun 21 Sep 2003 08:35:37 PM UTC, comment #1: 

this fixes grep so that all these work:

echo "ab" | grep -i -o "AB"
echo "AB" | grep -i -o "AB"
echo "ab" | grep -i -o "ab"
echo "AB" | grep -i -o "ab"

Anonymous
Sun 21 Sep 2003 03:48:04 PM UTC, original submission:  

this fixes grep so that all these work:

echo "ab" | grep -i -o "AB"
echo "AB" | grep -i -o "AB"
echo "ab" | grep -i -o "ab"
echo "AB" | grep -i -o "ab"

Anonymous

 

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

Attached Files
file #6152:  patch_item_1940.patch added by None (1KiB - text/plain - patch item 1940)

 

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

Date Changed by Updated Field Previous Value => Replaced by
2005-04-12 julianfoad StatusNone Invalid
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code