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:
d986732
)
fix 'grep -C' which requires an argument
author
Eric Andersen
<andersen@codepoet.org>
Mon, 25 Sep 2006 22:18:56 +0000
(22:18 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 25 Sep 2006 22:18:56 +0000
(22:18 -0000)
findutils/grep.c
patch
|
blob
|
history
diff --git
a/findutils/grep.c
b/findutils/grep.c
index 0e0d03f9e632b15fd817d95cdcb56a6cf54deb20..ebd9596e04b95b8e45db761c2acc6f0cc67061fd 100644
(file)
--- a/
findutils/grep.c
+++ b/
findutils/grep.c
@@
-46,7
+46,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)