LINUX.ORG.RU

История изменений

Исправление proud_anon, (текущая версия) :

-l, --files-with-matches
              Suppress normal output; instead print the  name  of  each  input
              file  from  which  output would normally have been printed.  The
              scanning will stop on the first  match.   (-l  is  specified  by
              POSIX.)

Из man grep.

Это как раз чтобы выводились не строки, а имена файлов, в которых содержатся подходящие строки.

Исправление proud_anon, :

-l, --files-with-matches
              Suppress normal output; instead print the  name  of  each  input
              file  from  which  output would normally have been printed.  The
              scanning will stop on the first  match.   (-l  is  specified  by
              POSIX.)

Из man grep.

Это как раз чтобы выводились не строки, а имена файлов.

Исходная версия proud_anon, :

-l, --files-with-matches
              Suppress normal output; instead print the  name  of  each  input
              file  from  which  output would normally have been printed.  The
              scanning will stop on the first  match.   (-l  is  specified  by
              POSIX.)

Из man grep.