svn commit: branches/busybox_1_1_stable/findutils

andersen at busybox.net andersen at busybox.net
Mon Sep 25 22:25:23 UTC 2006


Author: andersen
Date: 2006-09-25 15:25:23 -0700 (Mon, 25 Sep 2006)
New Revision: 16221

Log:
Fix 'grep -C' which requires and argument


Modified:
   branches/busybox_1_1_stable/findutils/grep.c


Changeset:
Modified: branches/busybox_1_1_stable/findutils/grep.c
===================================================================
--- branches/busybox_1_1_stable/findutils/grep.c	2006-09-25 22:18:56 UTC (rev 16220)
+++ branches/busybox_1_1_stable/findutils/grep.c	2006-09-25 22:25:23 UTC (rev 16221)
@@ -51,7 +51,7 @@
 #define GREP_OPT_L (1<<12)
 #define PRINT_FILES_WITHOUT_MATCHES ((opt & GREP_OPT_L) != 0)
 #if ENABLE_FEATURE_GREP_CONTEXT
-#define GREP_OPT_CONTEXT "A:B:C"
+#define GREP_OPT_CONTEXT "A:B:C:"
 #define GREP_OPT_A (1<<13)
 #define GREP_OPT_B (1<<14)
 #define GREP_OPT_C (1<<15)




More information about the busybox-cvs mailing list