aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2010-07-25 18:57:48 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2010-07-25 18:57:48 +0000
commit36bcf7c1fbfa0c72fb5adf53d4ef28e43fbfc342 (patch)
treef47cd3798c56066298b7e5b8cf16495a62b03cf1 /usr.bin
parent40650455028f556d154ccfe2cfce81ec91d8896b (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/grep/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/grep/util.c b/usr.bin/grep/util.c
index 41d0d516049b..4de36a715d11 100644
--- a/usr.bin/grep/util.c
+++ b/usr.bin/grep/util.c
@@ -343,7 +343,7 @@ procline(struct str *l, int nottext)
return (c); /* Binary file */
/* Dealing with the context */
- if ((tail || c) && !cflag && !qflag) {
+ if ((tail || c) && !cflag && !qflag && !lflag && !Lflag) {
if (c) {
if (!first && !prev && !tail && Aflag)
printf("--\n");