1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

- 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 Kovesdan 2010-07-25 18:57:48 +00:00
parent 4065045502
commit 36bcf7c1fb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210479

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