CVSROOT:        /cvsroot/grep
Module name:    grep
Branch:         
Changes by:     Charles Levert <[EMAIL PROTECTED]>      05/06/21 05:18:44

Modified files:
        .              : ChangeLog 
        src            : grep.c 

Log message:
        * src/grep.c (main): Add a test to check if -o/--only-matching
        and context lines are both specified and if so, set both context
        specifications (before and after) to zero then print an explicit
        warning to stderr explaining what was done and why (as opposed
        to drastically aborting the process in error).  Patch #3768.
        Other code needs this zero setting to work correctly without
        having to repeatedly test for this conflictual condition.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/ChangeLog.diff?tr1=1.251&tr2=1.252&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/src/grep.c.diff?tr1=1.102&tr2=1.103&r1=text&r2=text



Reply via email to