- Fix -l and -L by really surpressing output and just showing filenames
Submitted by: swell.k@gmail.com Approved by: delphij (mentor)
This commit is contained in:
parent
8a41f327eb
commit
915b2e329d
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user