projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc81fe
)
Fix 'grep -C' which requires and argument
1_1_stable
author
Eric Andersen
<andersen@codepoet.org>
Mon, 25 Sep 2006 22:25:23 +0000
(22:25 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 25 Sep 2006 22:25:23 +0000
(22:25 -0000)
findutils/grep.c
patch
|
blob
|
history
diff --git
a/findutils/grep.c
b/findutils/grep.c
index e5b5e3242dfd6b23419c67926ac3f8d989e299ac..f3b2486c65fde36420815c24b919e8056ab0bd2a 100644
(file)
--- a/
findutils/grep.c
+++ b/
findutils/grep.c
@@
-51,7
+51,7
@@
static invert_search_t invert_search;
#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)