- Do not look for more matching lines if -L is specified
Submitted by: eadler (based on) MFC after: 2 weeks
This commit is contained in:
+1
-1
@@ -336,7 +336,7 @@ procline(struct str *l, int nottext)
|
||||
}
|
||||
|
||||
/* One pass if we are not recording matches */
|
||||
if (!wflag && ((color == NULL && !oflag) || qflag || lflag))
|
||||
if (!wflag && ((color == NULL && !oflag) || qflag || lflag || Lflag))
|
||||
break;
|
||||
|
||||
if (st == (size_t)pmatch.rm_so)
|
||||
|
||||
Reference in New Issue
Block a user