Nп/п : 99 из 100
 От   : Spiros Bousbouras                   2:5075/128        28 сен 23 04:42:49
 К    : Janis Papanagnou                                      28 сен 23 07:48:02
 Тема : Re: Get a list of files that contain a string
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <GjSRFyVAUJBJiRQJ4@bongo-ra.co> ace043e2
@REPLY: 1@dont-email.me> db2a8fca
@REPLYADDR Spiros Bousbouras <spibou@gmail.com>
@REPLYTO 2:5075/128 Spiros Bousbouras
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: <GjSRFyVAUJBJiRQJ4@bongo-ra.co>
@RFC-References: 4@dont-email.me>
1@dont-email.me>
@TZUTC: -0000
@TID: FIDOGATE-5.12-ge4e8b94
On Tue, 26 Sep 2023 16:54:19 +0200
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> or if you have to find the files

>   find ...file-properties... | xargs grep -lF specific-string

> It it`s not a "specific string" but a regular expression pattern that
> you want to match in the files then omit grep`s F option, use just -l.

> If filenames contain blanks and whatnot, add option -print0 to find
> and -0 (this is a `dash zero`) to xargs.

> Alternatively you may also use find`s -exec option instead of xargs.

I note that  grep  also has the  -q  option to not print output.
--- FIDOGATE 5.12-ge4e8b94
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх