[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to grep/ChangeLog

From: Charles Levert
Subject: Changes to grep/ChangeLog
Date: Tue, 21 Jun 2005 01:18:44 -0400

Index: grep/ChangeLog
diff -u grep/ChangeLog:1.251 grep/ChangeLog:1.252
--- grep/ChangeLog:1.251        Tue Jun 21 04:55:26 2005
+++ grep/ChangeLog      Tue Jun 21 05:18:44 2005
@@ -5,6 +5,14 @@
          right after a line boundary.  This will be used later to fix
          --byte-offset's broken behavior.  Patch #3769.
+       * 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.
 2005-06-20  Charles Levert  <address@hidden>
        * src/grep.c: Extensively document the SGR/EL-to-Right issue.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]