- 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:
gabor 2010-07-25 18:57:48 +00:00
parent 8a41f327eb
commit 915b2e329d

View File

@ -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");