----------------------------------------------------------------------------------
@MSGID: 1@dont-email.me> c952e518
@REPLY: <GjSRFyVAUJBJiRQJ4@bongo-ra.co> ace043e2
@REPLYADDR Janis Papanagnou
<janis_papanagnou+ng@hotmail.com>
@REPLYTO 2:5075/128 Janis Papanagnou
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 4@dont-email.me>
1@dont-email.me> <GjSRFyVAUJBJiRQJ4@bongo-ra.co>
@TZUTC: 0200
@PID: Mozilla/5.0 (X11; Linux x86_64; rv:45.0)
Gecko/20100101 Thunderbird/45.8.0
@TID: FIDOGATE-5.12-ge4e8b94
On 28.09.2023 06:42, Spiros Bousbouras wrote:
>
> I note that grep also has the -q option to not print output.
Yes, this is useful when you intend to use it as predicate
if grep -q ... ; then : found ; else : not found ; fi
and aren`t interested in the output (the match or the file names).
Janis
--- Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
* 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