grep-commit
[Top][All Lists]
Advanced

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

Changes to grep/src/grep.c,v


From: Bernhard Rosenkraenzer
Subject: Changes to grep/src/grep.c,v
Date: Fri, 18 Aug 2006 21:38:07 -0000

CVSROOT:        /sources/grep
Module name:    grep
Changes by:     Bernhard Rosenkraenzer <bero>   06/08/18 21:38:03

Index: grep.c
===================================================================
RCS file: /sources/grep/grep/src/grep.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -b -r1.119 -r1.120
--- grep.c      17 Nov 2005 23:13:11 -0000      1.119
+++ grep.c      18 Aug 2006 21:38:03 -0000      1.120
@@ -2148,12 +2148,6 @@
     out_after = default_context;
   if (out_before < 0)
     out_before = default_context;
-  if (only_matching && (out_after > 0 || out_before > 0))
-    {
-      error(0, 0, _("Any context line specification "
-                   "is ignored with -o/--only-matching."));
-      out_after = out_before = 0;
-    }
 
   if (color_option)
     {




reply via email to

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